From 19633a204ad1f9d80930f4ca0a585aa59bf98cc9 Mon Sep 17 00:00:00 2001 From: Levi Thomason Date: Sun, 19 Aug 2018 16:28:02 -0700 Subject: [PATCH] fix(Icon): update icon names --- src/index.d.ts | 38 ++++++++++++++++++++++---------------- src/lib/SUI.js | 18 +++++++++++------- 2 files changed, 33 insertions(+), 23 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index b87695eda6..8680b28561 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -266,8 +266,10 @@ export type SemanticICONS = | 'share' | 'share square' | 'share square outline' - | 'sign in alternate' - | 'sign out alternate' + | 'sign-in' + | 'sign-out' + | 'sign-in alternate' + | 'sign-out alternate' | 'sort' | 'sort alphabet down' | 'sort alphabet up' @@ -284,6 +286,8 @@ export type SemanticICONS = | 'undo' | 'undo alternate' | 'upload' + | 'zoom-in' + | 'zoom-out' | 'audio description' | 'backward' | 'circle' @@ -880,8 +884,8 @@ export type SemanticICONS = | 'share square' | 'share square outline' | 'shield alternate' - | 'sign in alternate' - | 'sign out alternate' + | 'sign-in' + | 'sign-out' | 'signal' | 'sitemap' | 'sliders horizontal' @@ -1526,6 +1530,16 @@ export type SemanticICONS = | 'btc' | 'buromobelexperte' | 'buysellads' + | 'cc amazon pay' + | 'cc amex' + | 'cc apple pay' + | 'cc diners club' + | 'cc discover' + | 'cc jcb' + | 'cc mastercard' + | 'cc paypal' + | 'cc stripe' + | 'cc visa' | 'centercode' | 'chrome' | 'cloudscale' @@ -1540,7 +1554,7 @@ export type SemanticICONS = | 'css3' | 'css3 alternate' | 'cuttlefish' - | 'd and' + | 'd and d' | 'dashcube' | 'delicious' | 'deploydog' @@ -1649,7 +1663,7 @@ export type SemanticICONS = | 'less' | 'linechat' | 'linkedin' - | 'linkedin in' + | 'linkedin alternate' | 'linode' | 'linux' | 'lyft' @@ -1678,6 +1692,7 @@ export type SemanticICONS = | 'opencart' | 'openid' | 'opera' + | 'optin monster' | 'osi' | 'page4' | 'pagelines' @@ -1781,6 +1796,7 @@ export type SemanticICONS = | 'vk' | 'vnv' | 'vuejs' + | 'wechat' | 'weibo' | 'weixin' | 'whatsapp' @@ -1810,14 +1826,6 @@ export type SemanticICONS = | 'user doctor' | 'shield' | 'puzzle' - | 'cc amazon pay' - | 'cc diners club' - | 'cc discover' - | 'cc jcb' - | 'cc mastercard' - | 'cc paypal' - | 'cc stripe' - | 'cc visa' | 'add circle' | 'add square' | 'add to calendar' @@ -1828,7 +1836,6 @@ export type SemanticICONS = | 'alarm' | 'ald' | 'als' - | 'cc amex' | 'announcement' | 'area chart' | 'area graph' @@ -1956,7 +1963,6 @@ export type SemanticICONS = | 'new pied piper' | 'non binary transgender' | 'numbered list' - | 'optinmonster' | 'options' | 'other gender horizontal' | 'other gender vertical' diff --git a/src/lib/SUI.js b/src/lib/SUI.js index 65aed221b8..ab9d90576d 100644 --- a/src/lib/SUI.js +++ b/src/lib/SUI.js @@ -60,7 +60,6 @@ export const TRANSITIONS = [...DIRECTIONAL_TRANSITIONS, ...STATIC_TRANSITIONS] // Generated from: // https://github.com/Semantic-Org/Semantic-UI/blob/master/dist/components/icon.css -// See our gulp tasks for details. export const ACCESSIBILITY = [ 'american sign language interpreting', 'assistive listening systems', @@ -166,8 +165,10 @@ export const ARROWS = [ 'share', 'share square', 'share square outline', - 'sign in alternate', - 'sign out alternate', + 'sign-in', + 'sign-out', + 'sign-in alternate', + 'sign-out alternate', 'sort', 'sort alphabet down', 'sort alphabet up', @@ -184,6 +185,8 @@ export const ARROWS = [ 'undo', 'undo alternate', 'upload', + 'zoom-in', + 'zoom-out', ] export const AUDIO_VIDEO = [ 'audio description', @@ -812,8 +815,8 @@ export const INTERFACES = [ 'share square', 'share square outline', 'shield alternate', - 'sign in alternate', - 'sign out alternate', + 'sign-in', + 'sign-out', 'signal', 'sitemap', 'sliders horizontal', @@ -1508,7 +1511,7 @@ export const BRANDS = [ 'css3', 'css3 alternate', 'cuttlefish', - 'd and', + 'd and d', 'dashcube', 'delicious', 'deploydog', @@ -1617,7 +1620,7 @@ export const BRANDS = [ 'less', 'linechat', 'linkedin', - 'linkedin in', + 'linkedin alternate', 'linode', 'linux', 'lyft', @@ -1750,6 +1753,7 @@ export const BRANDS = [ 'vk', 'vnv', 'vuejs', + 'wechat', 'weibo', 'weixin', 'whatsapp',