From ad7356acb630de9df1ee6930d8bbf61047bd828c Mon Sep 17 00:00:00 2001
From: Klink <85062+dogmar@users.noreply.github.com>
Date: Mon, 5 Feb 2024 16:02:04 -0800
Subject: [PATCH] fix: Briefcase icon is clipped when resized (#570)
---
.husky/pre-commit | 3 --
package.json | 7 ++-
src/components/icons/BriefcaseIcon.tsx | 61 +++++++++++---------------
yarn.lock | 12 ++---
4 files changed, 36 insertions(+), 47 deletions(-)
mode change 100755 => 100644 .husky/pre-commit
diff --git a/.husky/pre-commit b/.husky/pre-commit
old mode 100755
new mode 100644
index bdba781c..d11e43ef
--- a/.husky/pre-commit
+++ b/.husky/pre-commit
@@ -1,5 +1,2 @@
-#!/usr/bin/env sh
-. "$(dirname -- "$0")/_/husky.sh"
-
echo Running pre-commit hook
yarn lint-staged
diff --git a/package.json b/package.json
index f22c983f..25038c7a 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,10 @@
"fix:format": "prettier --write --no-error-on-unmatched-pattern ./src",
"fix:js": "eslint --fix . --ext ts,tsx,js,jsx",
"prepublishOnly": "npm run build",
- "firebase:start": "yarn build:storybook && npx firebase emulators:start"
+ "firebase:start": "yarn build:storybook && npx firebase emulators:start",
+ "postinstall": "husky",
+ "prepack": "pinst --disable",
+ "postpack": "pinst --enable"
},
"engines": {
"node": "18.16.0"
@@ -107,7 +110,7 @@
"honorable": "1.0.0-beta.17",
"honorable-theme-default": "1.0.0-beta.5",
"http-server": "14.1.1",
- "husky": "8.0.3",
+ "husky": "9.0.10",
"jest-mock": "29.5.0",
"jsdom": "23.0.1",
"lint-staged": "15.2.0",
diff --git a/src/components/icons/BriefcaseIcon.tsx b/src/components/icons/BriefcaseIcon.tsx
index d44be076..29b77bd3 100644
--- a/src/components/icons/BriefcaseIcon.tsx
+++ b/src/components/icons/BriefcaseIcon.tsx
@@ -7,41 +7,30 @@ export default createIcon(({ size, color }) => (
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
))
diff --git a/yarn.lock b/yarn.lock
index 06acfab5..697f31e3 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2946,7 +2946,7 @@ __metadata:
honorable-recipe-mapper: 0.2.0
honorable-theme-default: 1.0.0-beta.5
http-server: 14.1.1
- husky: 8.0.3
+ husky: 9.0.10
immer: 10.0.3
jest-mock: 29.5.0
jsdom: 23.0.1
@@ -12076,12 +12076,12 @@ __metadata:
languageName: node
linkType: hard
-"husky@npm:8.0.3":
- version: 8.0.3
- resolution: "husky@npm:8.0.3"
+"husky@npm:9.0.10":
+ version: 9.0.10
+ resolution: "husky@npm:9.0.10"
bin:
- husky: lib/bin.js
- checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0
+ husky: bin.mjs
+ checksum: 55f4b6db6706ff0bc181607d6a64f55310cbb18b4d7db2a5b85608c87a80abafc14ac3a8c4d0b44d6272f4a62d4c2d3d5491d6a13e2cc7ac4895309e5e5f0ec2
languageName: node
linkType: hard