Merge pull request #29 from phosphor-icons/phosphor-react-refactor
Dependencipalooza
This commit is contained in:
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "phosphor-home",
|
"name": "phosphor-home",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://phosphoricons.com",
|
"homepage": "https://phosphoricons.com",
|
||||||
"author": {
|
"author": {
|
||||||
@@ -22,9 +22,9 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"file-saver": "^2.0.2",
|
"file-saver": "^2.0.2",
|
||||||
"framer-motion": "^2.1.0",
|
"framer-motion": "^3.10.0",
|
||||||
"fuse.js": "^6.4.1",
|
"fuse.js": "^6.4.1",
|
||||||
"phosphor-react": "^1.2.0",
|
"phosphor-react": "^1.2.1",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-dom": "^17.0.1",
|
"react-dom": "^17.0.1",
|
||||||
"react-dropdown-select": "^4.4.2",
|
"react-dropdown-select": "^4.4.2",
|
||||||
@@ -32,9 +32,9 @@
|
|||||||
"react-hotkeys-hook": "^3.2.1",
|
"react-hotkeys-hook": "^3.2.1",
|
||||||
"react-scripts": "3.4.1",
|
"react-scripts": "3.4.1",
|
||||||
"react-use": "^15.3.2",
|
"react-use": "^15.3.2",
|
||||||
"recoil": "^0.1.2",
|
"recoil": "^0.1.3",
|
||||||
"svg2png-converter": "^1.0.0",
|
"svg2png-converter": "^1.0.0",
|
||||||
"tinycolor2": "^1.4.1"
|
"tinycolor2": "^1.4.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
||||||
|
|||||||
@@ -20,15 +20,15 @@ const panelVariants = {
|
|||||||
open: {
|
open: {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
height: "100%",
|
height: "100%",
|
||||||
marginTop: 4,
|
marginTop: "4px",
|
||||||
marginBottom: 4,
|
marginBottom: "4px",
|
||||||
// transition: { stiffness: 600, damping: 32, duration: 0.2 },
|
// transition: { stiffness: 600, damping: 32, duration: 0.2 },
|
||||||
},
|
},
|
||||||
collapsed: {
|
collapsed: {
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
height: 0,
|
height: "0px",
|
||||||
marginTop: 0,
|
marginTop: "0px",
|
||||||
marginBottom: 0,
|
marginBottom: "0px",
|
||||||
// transition: { stiffness: 600, damping: 32, duration: 0.2 },
|
// transition: { stiffness: 600, damping: 32, duration: 0.2 },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ const SearchInput: React.FC<SearchInputProps> = () => {
|
|||||||
key === "Enter" && currentTarget.blur()
|
key === "Enter" && currentTarget.blur()
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
{!value && !isMobile && <Keys>{isApple ? <Command /> : "Ctrl"} + K</Keys>}
|
{!value && !isMobile && <Keys>{isApple ? <Command /> : "Ctrl + "}K</Keys>}
|
||||||
{value ? (
|
{value ? (
|
||||||
isReady() ? (
|
isReady() ? (
|
||||||
<X className="clear-icon" size={18} onClick={handleCancelSearch} />
|
<X className="clear-icon" size={18} onClick={handleCancelSearch} />
|
||||||
|
|||||||
Reference in New Issue
Block a user