From 55086ae991157338f7fef64536a14111949bf979 Mon Sep 17 00:00:00 2001 From: Patrick Yeo Date: Mon, 11 May 2020 10:29:34 -0700 Subject: [PATCH 1/2] feat(@clayui/css): SVG Icons adds `thumbs-up-full` and `thumbs-down-full` fixes #3208 --- .../src/images/icons/thumbs-down-full.svg | 4 + .../src/images/icons/thumbs-up-full.svg | 4 + .../src/scss/functions/_global-functions.scss | 158 +++++++++--------- 3 files changed, 89 insertions(+), 77 deletions(-) create mode 100644 packages/clay-css/src/images/icons/thumbs-down-full.svg create mode 100644 packages/clay-css/src/images/icons/thumbs-up-full.svg diff --git a/packages/clay-css/src/images/icons/thumbs-down-full.svg b/packages/clay-css/src/images/icons/thumbs-down-full.svg new file mode 100644 index 0000000000..59a7a4af26 --- /dev/null +++ b/packages/clay-css/src/images/icons/thumbs-down-full.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/packages/clay-css/src/images/icons/thumbs-up-full.svg b/packages/clay-css/src/images/icons/thumbs-up-full.svg new file mode 100644 index 0000000000..4ad8fe9df9 --- /dev/null +++ b/packages/clay-css/src/images/icons/thumbs-up-full.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/packages/clay-css/src/scss/functions/_global-functions.scss b/packages/clay-css/src/scss/functions/_global-functions.scss index 5a0d6e0a45..1c3b679659 100644 --- a/packages/clay-css/src/scss/functions/_global-functions.scss +++ b/packages/clay-css/src/scss/functions/_global-functions.scss @@ -249,7 +249,7 @@ 'adjust': '', - 'align-center': '', + 'align-center': '', 'align-image-center': '', @@ -257,11 +257,11 @@ 'align-image-right': '', - 'align-justify': '', + 'align-justify': '', - 'align-left': '', + 'align-left': '', - 'align-right': '', + 'align-right': '', 'analytics': '', @@ -319,13 +319,13 @@ 'blogs': '', - 'bold': '', + 'bold': '', 'bolt': '', 'bookmarks': '', - 'books': '', + 'books': '', 'box-container': '', @@ -347,9 +347,9 @@ 'caret-bottom': '', - 'caret-double-l': '', + 'caret-double-l': '', - 'caret-double': '', + 'caret-double': '', 'caret-left-l': '', @@ -367,7 +367,7 @@ 'categories': '', - 'chain-broken': '', + 'chain-broken': '', 'change-list-disabled': '', @@ -381,7 +381,7 @@ 'check-square': '', - 'check': '', + 'check': '', 'chip': '', @@ -389,7 +389,7 @@ 'cloud': '', - 'code': '', + 'code': '', 'cog': '', @@ -401,19 +401,19 @@ 'community': '', - 'compress': '', + 'compress': '', 'control-panel': '', 'credit-card': '', - 'custom-field': '', + 'custom-field': '', 'custom-size': '', 'cut': '', - 'date': '', + 'date': '', 'decimal': '', @@ -469,7 +469,7 @@ 'edit-layout': '', - 'effects': '', + 'effects': '', 'ellipsis-h': '', @@ -491,7 +491,7 @@ 'exclamation-full': '', - 'expand': '', + 'expand': '', 'file-script': '', @@ -505,7 +505,7 @@ 'flag-full': '', - 'ar-sa': '', + 'ar-sa': '', 'bg-bg': '', @@ -513,7 +513,7 @@ 'ca-es': '', - 'cs-cz': '', + 'cs-cz': '', 'da-dk': '', @@ -521,9 +521,9 @@ 'el-gr': '', - 'en-au': '', + 'en-au': '', - 'en-gb': '', + 'en-gb': '', 'en-us': '', @@ -531,7 +531,7 @@ 'et-ee': '', - 'eu-es': '', + 'eu-es': '', 'fa-ir': '', @@ -541,7 +541,7 @@ 'fr-fr': '', - 'gl-es': '', + 'gl-es': '', 'hi-in': '', @@ -553,7 +553,7 @@ 'it-it': '', - 'iw-il': '', + 'iw-il': '', 'ja-jp': '', @@ -575,7 +575,7 @@ 'pl-pl': '', - 'pt-br': '', + 'pt-br': '', 'pt-pt': '', @@ -587,9 +587,9 @@ 'sl-si': '', - 'sr-rs-latin': '', + 'sr-rs-latin': '', - 'sr-rs': '', + 'sr-rs': '', 'sv-se': '', @@ -597,13 +597,13 @@ 'th-th': '', - 'tr-tr': '', + 'tr-tr': '', 'uk-ua': '', - 'vi-vn': '', + 'vi-vn': '', - 'zh-cn': '', + 'zh-cn': '', 'zh-tw': '', @@ -613,7 +613,7 @@ 'forms': '', - 'full-size': '', + 'full-size': '', 'geolocation': '', @@ -621,11 +621,11 @@ 'google': '', - 'grid': '', + 'grid': '', - 'h1': '', + 'h1': '', - 'h2': '', + 'h2': '', 'hashtag': '', @@ -637,11 +637,11 @@ 'hidden': '', - 'home': '', + 'home': '', 'horizontal-scroll': '', - 'hr': '', + 'hr': '', 'import-export': '', @@ -661,17 +661,17 @@ 'info-panel-closed': '', - 'info-panel-open': '', + 'info-panel-open': '', - 'information-live': '', + 'information-live': '', 'integer': '', - 'italic': '', + 'italic': '', 'liferay-ac': '', - 'link': '', + 'link': '', 'list-ol': '', @@ -681,11 +681,11 @@ 'live': '', - 'lock-dots': '', + 'lock-dots': '', 'lock': '', - 'logout': '', + 'logout': '', 'magic': '', @@ -703,7 +703,7 @@ 'minus-circle': '', - 'mobile-device-rules': '', + 'mobile-device-rules': '', 'mobile-landscape': '', @@ -715,7 +715,7 @@ 'move': '', - 'myspace': '', + 'myspace': '', 'number': '', @@ -735,13 +735,13 @@ 'organizations': '', - 'page-template': '', + 'page-template': '', 'page': '', 'pages-tree': '', - 'paperclip': '', + 'paperclip': '', 'paragraph': '', @@ -755,19 +755,19 @@ 'phone': '', - 'picture': '', + 'picture': '', 'pin-full': '', - 'pin': '', + 'pin': '', - 'play': '', + 'play': '', 'plug': '', - 'plus-squares': '', + 'plus-squares': '', - 'plus': '', + 'plus': '', 'polls': '', @@ -781,23 +781,23 @@ 'propagation': '', - 'question-circle-full': '', + 'question-circle-full': '', 'question-circle': '', - 'quote-left': '', + 'quote-left': '', - 'quote-right': '', + 'quote-right': '', 'radio-button': '', 'redo': '', - 'reload': '', + 'reload': '', 'remove-role': '', - 'remove-style': '', + 'remove-style': '', 'reply': '', @@ -815,15 +815,15 @@ 'search-plus': '', - 'search': '', + 'search': '', 'select-from-list': '', - 'select': '', + 'select': '', 'separator': '', - 'share-alt': '', + 'share-alt': '', 'share': '', @@ -831,19 +831,19 @@ 'shopping-cart': '', - 'shortcut': '', + 'shortcut': '', 'sign-in': '', - 'simple-circle': '', + 'simple-circle': '', - 'simulation-menu-closed': '', + 'simulation-menu-closed': '', - 'simulation-menu-open': '', + 'simulation-menu-open': '', 'simulation-menu': '', - 'site-template': '', + 'site-template': '', 'sites': '', @@ -853,7 +853,7 @@ 'social-linkedin': '', - 'social-twitter': '', + 'social-twitter': '', 'social-vimeo': '', @@ -867,21 +867,21 @@ 'star-half': '', - 'star-o': '', + 'star-o': '', - 'star': '', + 'star': '', 'sticky': '', - 'strikethrough': '', + 'strikethrough': '', - 'subscript': '', + 'subscript': '', 'suitcase': '', 'sun': '', - 'superscript': '', + 'superscript': '', 'table': '', @@ -899,14 +899,18 @@ 'text': '', - 'textbox': '', + 'textbox': '', 'third-party': '', + 'thumbs-down-full': '', + 'thumbs-down': '', 'thumbs-up-arrow': '', + 'thumbs-up-full': '', + 'thumbs-up': '', 'time': '', @@ -921,19 +925,19 @@ 'transform': '', - 'trash': '', + 'trash': '', 'truck': '', - 'twitter': '', + 'twitter': '', - 'underline': '', + 'underline': '', 'undo': '', 'unlock': '', - 'unpin': '', + 'unpin': '', 'upload-multiple': '', @@ -941,7 +945,7 @@ 'urgent': '', - 'user-plus': '', + 'user-plus': '', 'user': '', @@ -953,13 +957,13 @@ 'view': '', - 'vocabulary': '', + 'vocabulary': '', 'warning-full': '', 'warning': '', - 'web-content': '', + 'web-content': '', 'wiki-page': '', From aa3a79fb2c6b768652e9f60e48757ca88a6305d2 Mon Sep 17 00:00:00 2001 From: Patrick Yeo Date: Mon, 11 May 2020 10:37:55 -0700 Subject: [PATCH 2/2] docs(clayui.com): Adds search aliases for icons `thumbs-up-full` and `thumbs-down-full` --- clayui.com/svg-icons.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clayui.com/svg-icons.js b/clayui.com/svg-icons.js index 79a7d73a6b..9e9d0b598b 100644 --- a/clayui.com/svg-icons.js +++ b/clayui.com/svg-icons.js @@ -712,7 +712,9 @@ const iconsData = { "test": '"experiment", "lab"', "text": '"a", "editor"', "text-editor": '"style"', + "thumbs-down-full": '"dislike", "social"', "thumbs-down": '"dislike", "social"', + "thumbs-up-full": '"like", "social"', "thumbs-up": '"like", "social"', "time": '"clock", "day", "hour"', "times": '"cancel", "close", "x"',