-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update package.json * sort by last edited * nits * fix side panel width * update seed to animated gif * initial gif setupupdate strings * add emoji picker * menu transition * fake navigating back * filename * update * give icons names * nit * file name prefix functionality
- Loading branch information
Showing
47 changed files
with
488 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -766,5 +766,8 @@ | |
}, | ||
"zoom_out": { | ||
"message": "Alejar" | ||
}, | ||
"name": { | ||
"message": "Nombre" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -766,5 +766,8 @@ | |
}, | ||
"zoom_out": { | ||
"message": "Zoom arrière" | ||
}, | ||
"name": { | ||
"message": "Nom" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -766,5 +766,8 @@ | |
}, | ||
"zoom_out": { | ||
"message": "ज़ूम आउट" | ||
}, | ||
"name": { | ||
"message": "नाम" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -766,5 +766,8 @@ | |
}, | ||
"zoom_out": { | ||
"message": "Уменьшить" | ||
}, | ||
"name": { | ||
"message": "Имя" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -766,5 +766,8 @@ | |
}, | ||
"zoom_out": { | ||
"message": "缩小" | ||
}, | ||
"name": { | ||
"message": "名称" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "svg-gobbler", | ||
"version": "5.11.0", | ||
"version": "5.12.0", | ||
"description": "Find, optimize, organize, edit, and export your SVGs", | ||
"license": "apache-2.0", | ||
"author": "Ross Moody<[email protected]>", | ||
|
@@ -15,13 +15,16 @@ | |
"@codemirror/lang-html": "^6.4.6", | ||
"@codemirror/lang-javascript": "^6.2.2", | ||
"@codemirror/view": "^6.27.0", | ||
"@emoji-mart/data": "^1.2.1", | ||
"@emoji-mart/react": "^1.1.1", | ||
"@headlessui/react": "^1.7.17", | ||
"@headlessui/tailwindcss": "^0.2.0", | ||
"@heroicons/react": "^2.0.18", | ||
"@radix-ui/react-toast": "^1.1.5", | ||
"@radix-ui/react-tooltip": "^1.0.7", | ||
"@uiw/react-codemirror": "^4.21.20", | ||
"clsx": "^2.0.0", | ||
"emoji-mart": "^5.6.0", | ||
"jszip": "^3.10.1", | ||
"lodash": "^4.17.21", | ||
"lz-string": "^1.5.0", | ||
|
@@ -33,7 +36,7 @@ | |
"react-draggable": "^4.4.6", | ||
"react-dropzone": "^14.2.3", | ||
"react-router-dom": "^6.18.0", | ||
"svg-gobbler-scripts": "^1.3.1", | ||
"svg-gobbler-scripts": "^1.5.6", | ||
"svgo": "^3.0.3" | ||
}, | ||
"devDependencies": { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const transitions = { | ||
menu: { | ||
enter: 'transition ease-out duration-100', | ||
enterFrom: 'transform opacity-0 scale-95', | ||
enterTo: 'transform opacity-100 scale-100', | ||
leave: 'transition ease-in duration-75', | ||
leaveFrom: 'transform opacity-100 scale-100', | ||
leaveTo: 'transform opacity-0 scale-95', | ||
}, | ||
popover: { | ||
enter: 'transition ease-out duration-100', | ||
enterFrom: 'transform opacity-0 scale-95', | ||
enterTo: 'transform opacity-100 scale-100', | ||
leave: 'transition ease-in duration-75', | ||
leaveFrom: 'transform opacity-100 scale-100', | ||
leaveTo: 'transform opacity-0 scale-95', | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* SVG Gobbler runs in a webview, so we can't use the browser's history to navigate back. | ||
* Instead, we use React Router's `useNavigate` hook to navigate back to the previous page | ||
* when CMD and left bracket are pressed. | ||
*/ | ||
|
||
import { useNavigate } from 'react-router-dom' | ||
|
||
export const useNavigation = () => { | ||
const navigate = useNavigate() | ||
|
||
const handleNavigation = (event: KeyboardEvent) => { | ||
if (event.metaKey && event.key === '[') { | ||
navigate(-1) | ||
} | ||
} | ||
|
||
window.addEventListener('keydown', handleNavigation) | ||
|
||
return () => { | ||
window.removeEventListener('keydown', handleNavigation) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.