20334 implement desktop camera upload feature (#335)

* wip: camera upload

* Handle camera permissions

* remove console logs

* fix camera theme, hide on small  screen,

* video sizing on camera  upload

* camera feature minor fixes

* Package.json update

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Favour Olayinka
2024-03-25 11:00:00 +01:00
committed by GitHub
parent a32c183758
commit 659dc5086e
7 changed files with 218 additions and 12 deletions

View File

@@ -39,6 +39,7 @@ export const themes = {
},
fileInput: {
input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded-lg',
cameraInput: 'min-h-40 rounded-lg',
inputHover: {
light: 'bg-neutral-50',
dark: 'bg-notion-dark-light'
@@ -83,6 +84,7 @@ export const themes = {
},
fileInput: {
input: 'min-h-40 border border-dashed border-gray-300 p-4',
cameraInput: 'min-h-40',
inputHover: {
light: 'bg-neutral-50',
dark: 'bg-notion-dark-light'
@@ -127,6 +129,7 @@ export const themes = {
},
fileInput: {
input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded bg-notion-input-background',
cameraInput: 'min-h-40 rounded',
inputHover: {
light: 'bg-neutral-50',
dark: 'bg-notion-dark-light'