Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Icon): remove unexisting aliases #2879

Merged
merged 1 commit into from
Jun 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 26 additions & 48 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@ export type SemanticCOLORS =
| 'brown'
| 'grey'
| 'black';
export type SemanticSIZES = 'mini' | 'tiny' | 'small' | 'medium' | 'large' | 'big' | 'huge' | 'massive';
export type SemanticSIZES =
| 'mini'
| 'tiny'
| 'small'
| 'medium'
| 'large'
| 'big'
| 'huge'
| 'massive';

// ======================================================
// Transitions
Expand Down Expand Up @@ -99,7 +107,14 @@ type SemanticDIRECTIONALTRANSITIONS =
| 'swing left'
| 'swing right'
| 'zoom';
type SemanticSTATICTRANSITIONS = 'jiggle' | 'flash' | 'shake' | 'pulse' | 'tada' | 'bounce' | 'glow';
type SemanticSTATICTRANSITIONS =
| 'jiggle'
| 'flash'
| 'shake'
| 'pulse'
| 'tada'
| 'bounce'
| 'glow';

export type SemanticTRANSITIONS = SemanticDIRECTIONALTRANSITIONS | SemanticSTATICTRANSITIONS;

Expand Down Expand Up @@ -1511,16 +1526,6 @@ 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'
Expand Down Expand Up @@ -1673,7 +1678,6 @@ export type SemanticICONS =
| 'opencart'
| 'openid'
| 'opera'
| 'optin monster'
| 'osi'
| 'page4'
| 'pagelines'
Expand Down Expand Up @@ -1806,15 +1810,14 @@ export type SemanticICONS =
| 'user doctor'
| 'shield'
| 'puzzle'
| 'credit card amazon pay'
| 'credit card american express'
| 'credit card diners club'
| 'credit card discover'
| 'credit card jcb'
| 'credit card mastercard'
| 'credit card paypal'
| 'credit card stripe'
| 'credit card visa'
| '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'
Expand All @@ -1825,9 +1828,7 @@ export type SemanticICONS =
| 'alarm'
| 'ald'
| 'als'
| 'american express card'
| 'american express'
| 'amex'
| 'cc amex'
| 'announcement'
| 'area chart'
| 'area graph'
Expand All @@ -1844,7 +1845,6 @@ export type SemanticICONS =
| 'battery four'
| 'battery high'
| 'battery low'
| 'battery medium'
| 'battery one'
| 'battery three'
| 'battery two'
Expand Down Expand Up @@ -1875,38 +1875,29 @@ export type SemanticICONS =
| 'delete calendar'
| 'delete'
| 'detective'
| 'diners club card'
| 'diners club'
| 'discover card'
| 'discover'
| 'discussions'
| 'doctor'
| 'dollar'
| 'dont'
| 'dribble'
| 'drivers license'
| 'dropdown'
| 'eercast'
| 'emergency'
| 'envira gallery'
| 'erase'
| 'eur'
| 'euro'
| 'eyedropper'
| 'fa'
| 'factory'
| 'favorite'
| 'feed'
| 'female homosexual'
| 'file text'
| 'find'
| 'first aid'
| 'five hundred pixels'
| 'fork'
| 'game'
| 'gay'
| 'gbp'
| 'gittip'
| 'google plus circle'
| 'google plus official'
| 'grab'
Expand Down Expand Up @@ -1934,9 +1925,6 @@ export type SemanticICONS =
| 'inr'
| 'intergender'
| 'intersex'
| 'japan credit bureau card'
| 'japan credit bureau'
| 'jcb'
| 'jpy'
| 'krw'
| 'lab'
Expand All @@ -1960,8 +1948,6 @@ export type SemanticICONS =
| 'mars alternate'
| 'mars horizontal'
| 'mars vertical'
| 'mastercard card'
| 'mastercard'
| 'microsoft edge'
| 'military'
| 'ms edge'
Expand All @@ -1984,7 +1970,6 @@ export type SemanticICONS =
| 'pied piper hat'
| 'pin'
| 'plus cart'
| 'pocket'
| 'point'
| 'pointing down'
| 'pointing left'
Expand Down Expand Up @@ -2042,7 +2027,6 @@ export type SemanticICONS =
| 'television'
| 'text cursor'
| 'text telephone'
| 'theme isle'
| 'theme'
| 'thermometer'
| 'thumb tack'
Expand Down Expand Up @@ -2071,16 +2055,12 @@ export type SemanticICONS =
| 'vcard'
| 'video camera'
| 'video play'
| 'visa card'
| 'visa'
| 'volume control phone'
| 'wait'
| 'warning circle'
| 'warning sign'
| 'warning'
| 'wechat'
| 'wi-fi'
| 'wikipedia'
| 'winner'
| 'wizard'
| 'woman'
Expand All @@ -2090,8 +2070,6 @@ export type SemanticICONS =
| 'world'
| 'write square'
| 'x'
| 'yc'
| 'ycombinator'
| 'yen'
| 'zip'
| 'zoom in'
Expand Down
36 changes: 0 additions & 36 deletions src/lib/SUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -1816,15 +1816,6 @@ export const ICON_ALIASES = [
'user doctor',
'shield',
'puzzle',
'credit card amazon pay',
'credit card american express',
'credit card diners club',
'credit card discover',
'credit card jcb',
'credit card mastercard',
'credit card paypal',
'credit card stripe',
'credit card visa',
'add circle',
'add square',
'add to calendar',
Expand All @@ -1835,9 +1826,6 @@ export const ICON_ALIASES = [
'alarm',
'ald',
'als',
'american express card',
'american express',
'amex',
'announcement',
'area chart',
'area graph',
Expand All @@ -1854,7 +1842,6 @@ export const ICON_ALIASES = [
'battery four',
'battery high',
'battery low',
'battery medium',
'battery one',
'battery three',
'battery two',
Expand Down Expand Up @@ -1885,38 +1872,29 @@ export const ICON_ALIASES = [
'delete calendar',
'delete',
'detective',
'diners club card',
'diners club',
'discover card',
'discover',
'discussions',
'doctor',
'dollar',
'dont',
'dribble',
'drivers license',
'dropdown',
'eercast',
'emergency',
'envira gallery',
'erase',
'eur',
'euro',
'eyedropper',
'fa',
'factory',
'favorite',
'feed',
'female homosexual',
'file text',
'find',
'first aid',
'five hundred pixels',
'fork',
'game',
'gay',
'gbp',
'gittip',
'google plus circle',
'google plus official',
'grab',
Expand Down Expand Up @@ -1944,9 +1922,6 @@ export const ICON_ALIASES = [
'inr',
'intergender',
'intersex',
'japan credit bureau card',
'japan credit bureau',
'jcb',
'jpy',
'krw',
'lab',
Expand All @@ -1970,16 +1945,13 @@ export const ICON_ALIASES = [
'mars alternate',
'mars horizontal',
'mars vertical',
'mastercard card',
'mastercard',
'microsoft edge',
'military',
'ms edge',
'mute',
'new pied piper',
'non binary transgender',
'numbered list',
'optinmonster',
'options',
'other gender horizontal',
'other gender vertical',
Expand All @@ -1994,7 +1966,6 @@ export const ICON_ALIASES = [
'pied piper hat',
'pin',
'plus cart',
'pocket',
'point',
'pointing down',
'pointing left',
Expand Down Expand Up @@ -2052,7 +2023,6 @@ export const ICON_ALIASES = [
'television',
'text cursor',
'text telephone',
'theme isle',
'theme',
'thermometer',
'thumb tack',
Expand Down Expand Up @@ -2081,16 +2051,12 @@ export const ICON_ALIASES = [
'vcard',
'video camera',
'video play',
'visa card',
'visa',
'volume control phone',
'wait',
'warning circle',
'warning sign',
'warning',
'wechat',
'wi-fi',
'wikipedia',
'winner',
'wizard',
'woman',
Expand All @@ -2100,8 +2066,6 @@ export const ICON_ALIASES = [
'world',
'write square',
'x',
'yc',
'ycombinator',
'yen',
'zip',
'zoom in',
Expand Down