From 30939ebd871cf8f4fb9b09c466b37816bafc59d8 Mon Sep 17 00:00:00 2001 From: Cameron Foxly Date: Mon, 13 Feb 2023 15:48:41 -0800 Subject: [PATCH 1/6] Save zoom-in-24.svg, zoom-out-24.svg, zoom-out-16.svg, zoom-in-16.svg --- icons/zoom-in-16.svg | 11 +++++++++++ icons/zoom-in-24.svg | 4 ++++ icons/zoom-out-16.svg | 11 +++++++++++ icons/zoom-out-24.svg | 4 ++++ 4 files changed, 30 insertions(+) create mode 100644 icons/zoom-in-16.svg create mode 100644 icons/zoom-in-24.svg create mode 100644 icons/zoom-out-16.svg create mode 100644 icons/zoom-out-24.svg diff --git a/icons/zoom-in-16.svg b/icons/zoom-in-16.svg new file mode 100644 index 000000000..1c351c8f8 --- /dev/null +++ b/icons/zoom-in-16.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/icons/zoom-in-24.svg b/icons/zoom-in-24.svg new file mode 100644 index 000000000..782001bb5 --- /dev/null +++ b/icons/zoom-in-24.svg @@ -0,0 +1,4 @@ + + + + diff --git a/icons/zoom-out-16.svg b/icons/zoom-out-16.svg new file mode 100644 index 000000000..9aa0ed2b5 --- /dev/null +++ b/icons/zoom-out-16.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/icons/zoom-out-24.svg b/icons/zoom-out-24.svg new file mode 100644 index 000000000..f66ad8515 --- /dev/null +++ b/icons/zoom-out-24.svg @@ -0,0 +1,4 @@ + + + + From 43d359dd91c0031faae8ec05463dc233aa1d93fd Mon Sep 17 00:00:00 2001 From: Cameron Foxly Date: Mon, 13 Feb 2023 23:50:51 +0000 Subject: [PATCH 2/6] Optimize SVGs --- icons/zoom-in-16.svg | 12 +----------- icons/zoom-in-24.svg | 5 +---- icons/zoom-out-16.svg | 12 +----------- icons/zoom-out-24.svg | 5 +---- 4 files changed, 4 insertions(+), 30 deletions(-) diff --git a/icons/zoom-in-16.svg b/icons/zoom-in-16.svg index 1c351c8f8..878d79c0b 100644 --- a/icons/zoom-in-16.svg +++ b/icons/zoom-in-16.svg @@ -1,11 +1 @@ - - - - - - - - - - - + \ No newline at end of file diff --git a/icons/zoom-in-24.svg b/icons/zoom-in-24.svg index 782001bb5..6212b98d0 100644 --- a/icons/zoom-in-24.svg +++ b/icons/zoom-in-24.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/icons/zoom-out-16.svg b/icons/zoom-out-16.svg index 9aa0ed2b5..0d604d7cd 100644 --- a/icons/zoom-out-16.svg +++ b/icons/zoom-out-16.svg @@ -1,11 +1 @@ - - - - - - - - - - - + \ No newline at end of file diff --git a/icons/zoom-out-24.svg b/icons/zoom-out-24.svg index f66ad8515..ac0b75bbc 100644 --- a/icons/zoom-out-24.svg +++ b/icons/zoom-out-24.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file From deade6ddd1f5c3e0fa007f1a4f95b8905e87dad0 Mon Sep 17 00:00:00 2001 From: Cameron Foxly Date: Mon, 13 Feb 2023 15:54:11 -0800 Subject: [PATCH 3/6] Edit changeset to minor --- .changeset/unlucky-ligers-burn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/unlucky-ligers-burn.md diff --git a/.changeset/unlucky-ligers-burn.md b/.changeset/unlucky-ligers-burn.md new file mode 100644 index 000000000..f94b700d5 --- /dev/null +++ b/.changeset/unlucky-ligers-burn.md @@ -0,0 +1,5 @@ +--- +"@primer/octicons": minor +--- + +Save zoom-in-24.svg, zoom-out-24.svg, zoom-out-16.svg, zoom-in-16.svg From c5b1bb3efca787f0452cb72ec557cba47c4368b8 Mon Sep 17 00:00:00 2001 From: Cameron Foxly Date: Mon, 13 Feb 2023 15:56:16 -0800 Subject: [PATCH 4/6] Added zoom-in and zoom-out --- keywords.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keywords.json b/keywords.json index a1c81cd69..8b8d122e2 100644 --- a/keywords.json +++ b/keywords.json @@ -219,4 +219,6 @@ "workflow-all": ["workflow", "actions"], "x": ["remove", "close", "delete"], "zap": ["electricity", "lightning", "props", "like", "star", "save"] + "zoom-in": ["zoom", "in", "plus", "bigger"], + "zoom-out": ["zoom", "out", "minus", "smaller"] } From fc3497102954c8d8ed377981a7431f348b9c4603 Mon Sep 17 00:00:00 2001 From: Cameron Foxly Date: Mon, 13 Feb 2023 16:34:52 -0800 Subject: [PATCH 5/6] Added missing comma to keywords MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤦 --- keywords.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keywords.json b/keywords.json index 8b8d122e2..e98990129 100644 --- a/keywords.json +++ b/keywords.json @@ -218,7 +218,7 @@ "workflow": ["workflow", "actions"], "workflow-all": ["workflow", "actions"], "x": ["remove", "close", "delete"], - "zap": ["electricity", "lightning", "props", "like", "star", "save"] + "zap": ["electricity", "lightning", "props", "like", "star", "save"], "zoom-in": ["zoom", "in", "plus", "bigger"], "zoom-out": ["zoom", "out", "minus", "smaller"] } From d87d382547ed9113f1fb645f208b463654b44b0a Mon Sep 17 00:00:00 2001 From: Cameron Foxly Date: Mon, 13 Feb 2023 16:45:35 -0800 Subject: [PATCH 6/6] Update react snapshot to included icon names --- .../__tests__/__snapshots__/public-api.test.js.snap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/octicons_react/__tests__/__snapshots__/public-api.test.js.snap b/lib/octicons_react/__tests__/__snapshots__/public-api.test.js.snap index 7da850cbb..351c17f24 100644 --- a/lib/octicons_react/__tests__/__snapshots__/public-api.test.js.snap +++ b/lib/octicons_react/__tests__/__snapshots__/public-api.test.js.snap @@ -305,6 +305,8 @@ exports[`@primer/octicons-react should not update exports without a semver chang "XCircleIcon", "XIcon", "ZapIcon", + "ZoomInIcon", + "ZoomOutIcon", "default", ] `;