From 56af73e9ad4c0fc07e65a338c5f720c392487d95 Mon Sep 17 00:00:00 2001 From: Quinton Jason Date: Thu, 3 Nov 2022 15:04:01 -0500 Subject: [PATCH] fix(icons): added share icon --- docs/app/views/pages/icon.html.erb | 4 ++++ docs/lib/sage_rails/app/sage_tokens/sage_tokens.rb | 1 + packages/sage-assets/lib/stylesheets/components/_icon.scss | 2 +- packages/sage-assets/lib/stylesheets/tokens/_icon.scss | 1 + packages/sage-react/lib/configs/tokens/icons.js | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/app/views/pages/icon.html.erb b/docs/app/views/pages/icon.html.erb index d2be8fa2af..9daaf23f6f 100644 --- a/docs/app/views/pages/icon.html.erb +++ b/docs/app/views/pages/icon.html.erb @@ -49,6 +49,10 @@ action_icons = [ name: "search", action: "Search", }, + { + name: "share", + action: "Share", + }, { name: "trash", action: "Delete", diff --git a/docs/lib/sage_rails/app/sage_tokens/sage_tokens.rb b/docs/lib/sage_rails/app/sage_tokens/sage_tokens.rb index f84056a8a9..8c499df9c1 100644 --- a/docs/lib/sage_rails/app/sage_tokens/sage_tokens.rb +++ b/docs/lib/sage_rails/app/sage_tokens/sage_tokens.rb @@ -293,6 +293,7 @@ def SageTokens.grid_templates "search-small", "send-message", "sequences", + "share", "skipped", "slash-divider", "speaker", diff --git a/packages/sage-assets/lib/stylesheets/components/_icon.scss b/packages/sage-assets/lib/stylesheets/components/_icon.scss index ac34ffdb32..8ab1b282b0 100644 --- a/packages/sage-assets/lib/stylesheets/components/_icon.scss +++ b/packages/sage-assets/lib/stylesheets/components/_icon.scss @@ -4,7 +4,7 @@ /// @group sage //// -$-icon-font-cdn-version: "9"; // Keep in sync with desired `vX` folder from CDN +$-icon-font-cdn-version: "10"; // Keep in sync with desired `vX` folder from CDN $-icon-font-path: "#{$sage-font-cdn-root}/sage/v#{$-icon-font-cdn-version}" !default; $-icon-font-version: 1; // Only used for cache busting so increment as needed for such purposes diff --git a/packages/sage-assets/lib/stylesheets/tokens/_icon.scss b/packages/sage-assets/lib/stylesheets/tokens/_icon.scss index edf5924e9e..67320fa2af 100644 --- a/packages/sage-assets/lib/stylesheets/tokens/_icon.scss +++ b/packages/sage-assets/lib/stylesheets/tokens/_icon.scss @@ -234,6 +234,7 @@ $sage-icons: ( search-small: unicode(e9bc), send-message: unicode(e9bd), sequences: unicode(e9be), + share: unicode(e9eb), skipped: unicode(e9bf), slash-divider: unicode(e9c0), speaker: unicode(e9c1), diff --git a/packages/sage-react/lib/configs/tokens/icons.js b/packages/sage-react/lib/configs/tokens/icons.js index c6b7390f64..dff4fe416d 100644 --- a/packages/sage-react/lib/configs/tokens/icons.js +++ b/packages/sage-react/lib/configs/tokens/icons.js @@ -194,6 +194,7 @@ export const TOKENS_ICONS = { SEARCH_SMALL: 'search-small', SEND_MESSAGE: 'send-message', SEQUENCES: 'sequences', + SHARE: 'share', SKIPPED: 'skipped', SLASH_DIVIDER: 'slash-divider', SPEAKER: 'speaker',