From 02525cabb5949710a9a52ec4767534f9ad354855 Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Mon, 8 Mar 2021 23:57:09 -0500 Subject: [PATCH 1/4] deps: Bump phopshor-react, framer-motion, recoil, tinycolor --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3b323d1..860957f 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ "private": true, "dependencies": { "file-saver": "^2.0.2", - "framer-motion": "^2.1.0", + "framer-motion": "^3.10.0", "fuse.js": "^6.4.1", - "phosphor-react": "^1.2.0", + "phosphor-react": "^1.2.1", "react": "^17.0.1", "react-dom": "^17.0.1", "react-dropdown-select": "^4.4.2", @@ -32,9 +32,9 @@ "react-hotkeys-hook": "^3.2.1", "react-scripts": "3.4.1", "react-use": "^15.3.2", - "recoil": "^0.1.2", + "recoil": "^0.1.3", "svg2png-converter": "^1.0.0", - "tinycolor2": "^1.4.1" + "tinycolor2": "^1.4.2" }, "scripts": { "analyze": "source-map-explorer 'build/static/js/*.js'", From 6d74c9f7199ea73332e4382bcdc4656719d89910 Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Mon, 8 Mar 2021 23:57:42 -0500 Subject: [PATCH 2/4] DetailsPanel: Avoid framer-motion style value bug --- src/components/IconGrid/DetailsPanel.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/IconGrid/DetailsPanel.tsx b/src/components/IconGrid/DetailsPanel.tsx index b55f944..16ea647 100644 --- a/src/components/IconGrid/DetailsPanel.tsx +++ b/src/components/IconGrid/DetailsPanel.tsx @@ -20,15 +20,15 @@ const panelVariants = { open: { opacity: 1, height: "100%", - marginTop: 4, - marginBottom: 4, + marginTop: "4px", + marginBottom: "4px", // transition: { stiffness: 600, damping: 32, duration: 0.2 }, }, collapsed: { opacity: 0, - height: 0, - marginTop: 0, - marginBottom: 0, + height: "0px", + marginTop: "0px", + marginBottom: "0px", // transition: { stiffness: 600, damping: 32, duration: 0.2 }, }, }; From 6596bce68aa67023e73186318d3c923920911de1 Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Mon, 8 Mar 2021 23:58:29 -0500 Subject: [PATCH 3/4] SearchInput: More idiomatic shortcuts --- src/components/SearchInput/SearchInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SearchInput/SearchInput.tsx b/src/components/SearchInput/SearchInput.tsx index 6ac235b..d308cc3 100644 --- a/src/components/SearchInput/SearchInput.tsx +++ b/src/components/SearchInput/SearchInput.tsx @@ -81,7 +81,7 @@ const SearchInput: React.FC = () => { key === "Enter" && currentTarget.blur() } /> - {!value && !isMobile && {isApple ? : "Ctrl"} + K} + {!value && !isMobile && {isApple ? : "Ctrl + "}K} {value ? ( isReady() ? ( From b9a0b93067ab7ac07170f82e821822abc8cddd1c Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Mon, 8 Mar 2021 23:59:38 -0500 Subject: [PATCH 4/4] meta: Bump site version to match phosphor dep --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 860957f..b55f9e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phosphor-home", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "homepage": "https://phosphoricons.com", "author": {