Skip to content

Commit 6d6f6eb

Browse files
authoredJun 5, 2018
fix(Icon): remove unexisting aliases (Semantic-Org#2879)
1 parent 84fff9d commit 6d6f6eb

File tree

2 files changed

+26
-84
lines changed

2 files changed

+26
-84
lines changed
 

‎src/index.d.ts

+26-48
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,15 @@ export type SemanticCOLORS =
6868
| 'brown'
6969
| 'grey'
7070
| 'black';
71-
export type SemanticSIZES = 'mini' | 'tiny' | 'small' | 'medium' | 'large' | 'big' | 'huge' | 'massive';
71+
export type SemanticSIZES =
72+
| 'mini'
73+
| 'tiny'
74+
| 'small'
75+
| 'medium'
76+
| 'large'
77+
| 'big'
78+
| 'huge'
79+
| 'massive';
7280

7381
// ======================================================
7482
// Transitions
@@ -99,7 +107,14 @@ type SemanticDIRECTIONALTRANSITIONS =
99107
| 'swing left'
100108
| 'swing right'
101109
| 'zoom';
102-
type SemanticSTATICTRANSITIONS = 'jiggle' | 'flash' | 'shake' | 'pulse' | 'tada' | 'bounce' | 'glow';
110+
type SemanticSTATICTRANSITIONS =
111+
| 'jiggle'
112+
| 'flash'
113+
| 'shake'
114+
| 'pulse'
115+
| 'tada'
116+
| 'bounce'
117+
| 'glow';
103118

104119
export type SemanticTRANSITIONS = SemanticDIRECTIONALTRANSITIONS | SemanticSTATICTRANSITIONS;
105120

@@ -1511,16 +1526,6 @@ export type SemanticICONS =
15111526
| 'btc'
15121527
| 'buromobelexperte'
15131528
| 'buysellads'
1514-
| 'cc amazon pay'
1515-
| 'cc amex'
1516-
| 'cc apple pay'
1517-
| 'cc diners club'
1518-
| 'cc discover'
1519-
| 'cc jcb'
1520-
| 'cc mastercard'
1521-
| 'cc paypal'
1522-
| 'cc stripe'
1523-
| 'cc visa'
15241529
| 'centercode'
15251530
| 'chrome'
15261531
| 'cloudscale'
@@ -1673,7 +1678,6 @@ export type SemanticICONS =
16731678
| 'opencart'
16741679
| 'openid'
16751680
| 'opera'
1676-
| 'optin monster'
16771681
| 'osi'
16781682
| 'page4'
16791683
| 'pagelines'
@@ -1806,15 +1810,14 @@ export type SemanticICONS =
18061810
| 'user doctor'
18071811
| 'shield'
18081812
| 'puzzle'
1809-
| 'credit card amazon pay'
1810-
| 'credit card american express'
1811-
| 'credit card diners club'
1812-
| 'credit card discover'
1813-
| 'credit card jcb'
1814-
| 'credit card mastercard'
1815-
| 'credit card paypal'
1816-
| 'credit card stripe'
1817-
| 'credit card visa'
1813+
| 'cc amazon pay'
1814+
| 'cc diners club'
1815+
| 'cc discover'
1816+
| 'cc jcb'
1817+
| 'cc mastercard'
1818+
| 'cc paypal'
1819+
| 'cc stripe'
1820+
| 'cc visa'
18181821
| 'add circle'
18191822
| 'add square'
18201823
| 'add to calendar'
@@ -1825,9 +1828,7 @@ export type SemanticICONS =
18251828
| 'alarm'
18261829
| 'ald'
18271830
| 'als'
1828-
| 'american express card'
1829-
| 'american express'
1830-
| 'amex'
1831+
| 'cc amex'
18311832
| 'announcement'
18321833
| 'area chart'
18331834
| 'area graph'
@@ -1844,7 +1845,6 @@ export type SemanticICONS =
18441845
| 'battery four'
18451846
| 'battery high'
18461847
| 'battery low'
1847-
| 'battery medium'
18481848
| 'battery one'
18491849
| 'battery three'
18501850
| 'battery two'
@@ -1875,38 +1875,29 @@ export type SemanticICONS =
18751875
| 'delete calendar'
18761876
| 'delete'
18771877
| 'detective'
1878-
| 'diners club card'
1879-
| 'diners club'
1880-
| 'discover card'
1881-
| 'discover'
18821878
| 'discussions'
18831879
| 'doctor'
18841880
| 'dollar'
18851881
| 'dont'
1886-
| 'dribble'
18871882
| 'drivers license'
18881883
| 'dropdown'
1889-
| 'eercast'
18901884
| 'emergency'
18911885
| 'envira gallery'
18921886
| 'erase'
18931887
| 'eur'
18941888
| 'euro'
18951889
| 'eyedropper'
1896-
| 'fa'
18971890
| 'factory'
18981891
| 'favorite'
18991892
| 'feed'
19001893
| 'female homosexual'
19011894
| 'file text'
19021895
| 'find'
19031896
| 'first aid'
1904-
| 'five hundred pixels'
19051897
| 'fork'
19061898
| 'game'
19071899
| 'gay'
19081900
| 'gbp'
1909-
| 'gittip'
19101901
| 'google plus circle'
19111902
| 'google plus official'
19121903
| 'grab'
@@ -1934,9 +1925,6 @@ export type SemanticICONS =
19341925
| 'inr'
19351926
| 'intergender'
19361927
| 'intersex'
1937-
| 'japan credit bureau card'
1938-
| 'japan credit bureau'
1939-
| 'jcb'
19401928
| 'jpy'
19411929
| 'krw'
19421930
| 'lab'
@@ -1960,8 +1948,6 @@ export type SemanticICONS =
19601948
| 'mars alternate'
19611949
| 'mars horizontal'
19621950
| 'mars vertical'
1963-
| 'mastercard card'
1964-
| 'mastercard'
19651951
| 'microsoft edge'
19661952
| 'military'
19671953
| 'ms edge'
@@ -1984,7 +1970,6 @@ export type SemanticICONS =
19841970
| 'pied piper hat'
19851971
| 'pin'
19861972
| 'plus cart'
1987-
| 'pocket'
19881973
| 'point'
19891974
| 'pointing down'
19901975
| 'pointing left'
@@ -2042,7 +2027,6 @@ export type SemanticICONS =
20422027
| 'television'
20432028
| 'text cursor'
20442029
| 'text telephone'
2045-
| 'theme isle'
20462030
| 'theme'
20472031
| 'thermometer'
20482032
| 'thumb tack'
@@ -2071,16 +2055,12 @@ export type SemanticICONS =
20712055
| 'vcard'
20722056
| 'video camera'
20732057
| 'video play'
2074-
| 'visa card'
2075-
| 'visa'
20762058
| 'volume control phone'
20772059
| 'wait'
20782060
| 'warning circle'
20792061
| 'warning sign'
20802062
| 'warning'
2081-
| 'wechat'
20822063
| 'wi-fi'
2083-
| 'wikipedia'
20842064
| 'winner'
20852065
| 'wizard'
20862066
| 'woman'
@@ -2090,8 +2070,6 @@ export type SemanticICONS =
20902070
| 'world'
20912071
| 'write square'
20922072
| 'x'
2093-
| 'yc'
2094-
| 'ycombinator'
20952073
| 'yen'
20962074
| 'zip'
20972075
| 'zoom in'

‎src/lib/SUI.js

-36
Original file line numberDiff line numberDiff line change
@@ -1816,15 +1816,6 @@ export const ICON_ALIASES = [
18161816
'user doctor',
18171817
'shield',
18181818
'puzzle',
1819-
'credit card amazon pay',
1820-
'credit card american express',
1821-
'credit card diners club',
1822-
'credit card discover',
1823-
'credit card jcb',
1824-
'credit card mastercard',
1825-
'credit card paypal',
1826-
'credit card stripe',
1827-
'credit card visa',
18281819
'add circle',
18291820
'add square',
18301821
'add to calendar',
@@ -1835,9 +1826,6 @@ export const ICON_ALIASES = [
18351826
'alarm',
18361827
'ald',
18371828
'als',
1838-
'american express card',
1839-
'american express',
1840-
'amex',
18411829
'announcement',
18421830
'area chart',
18431831
'area graph',
@@ -1854,7 +1842,6 @@ export const ICON_ALIASES = [
18541842
'battery four',
18551843
'battery high',
18561844
'battery low',
1857-
'battery medium',
18581845
'battery one',
18591846
'battery three',
18601847
'battery two',
@@ -1885,38 +1872,29 @@ export const ICON_ALIASES = [
18851872
'delete calendar',
18861873
'delete',
18871874
'detective',
1888-
'diners club card',
1889-
'diners club',
1890-
'discover card',
1891-
'discover',
18921875
'discussions',
18931876
'doctor',
18941877
'dollar',
18951878
'dont',
1896-
'dribble',
18971879
'drivers license',
18981880
'dropdown',
1899-
'eercast',
19001881
'emergency',
19011882
'envira gallery',
19021883
'erase',
19031884
'eur',
19041885
'euro',
19051886
'eyedropper',
1906-
'fa',
19071887
'factory',
19081888
'favorite',
19091889
'feed',
19101890
'female homosexual',
19111891
'file text',
19121892
'find',
19131893
'first aid',
1914-
'five hundred pixels',
19151894
'fork',
19161895
'game',
19171896
'gay',
19181897
'gbp',
1919-
'gittip',
19201898
'google plus circle',
19211899
'google plus official',
19221900
'grab',
@@ -1944,9 +1922,6 @@ export const ICON_ALIASES = [
19441922
'inr',
19451923
'intergender',
19461924
'intersex',
1947-
'japan credit bureau card',
1948-
'japan credit bureau',
1949-
'jcb',
19501925
'jpy',
19511926
'krw',
19521927
'lab',
@@ -1970,16 +1945,13 @@ export const ICON_ALIASES = [
19701945
'mars alternate',
19711946
'mars horizontal',
19721947
'mars vertical',
1973-
'mastercard card',
1974-
'mastercard',
19751948
'microsoft edge',
19761949
'military',
19771950
'ms edge',
19781951
'mute',
19791952
'new pied piper',
19801953
'non binary transgender',
19811954
'numbered list',
1982-
'optinmonster',
19831955
'options',
19841956
'other gender horizontal',
19851957
'other gender vertical',
@@ -1994,7 +1966,6 @@ export const ICON_ALIASES = [
19941966
'pied piper hat',
19951967
'pin',
19961968
'plus cart',
1997-
'pocket',
19981969
'point',
19991970
'pointing down',
20001971
'pointing left',
@@ -2052,7 +2023,6 @@ export const ICON_ALIASES = [
20522023
'television',
20532024
'text cursor',
20542025
'text telephone',
2055-
'theme isle',
20562026
'theme',
20572027
'thermometer',
20582028
'thumb tack',
@@ -2081,16 +2051,12 @@ export const ICON_ALIASES = [
20812051
'vcard',
20822052
'video camera',
20832053
'video play',
2084-
'visa card',
2085-
'visa',
20862054
'volume control phone',
20872055
'wait',
20882056
'warning circle',
20892057
'warning sign',
20902058
'warning',
2091-
'wechat',
20922059
'wi-fi',
2093-
'wikipedia',
20942060
'winner',
20952061
'wizard',
20962062
'woman',
@@ -2100,8 +2066,6 @@ export const ICON_ALIASES = [
21002066
'world',
21012067
'write square',
21022068
'x',
2103-
'yc',
2104-
'ycombinator',
21052069
'yen',
21062070
'zip',
21072071
'zoom in',

0 commit comments

Comments
 (0)
Please sign in to comment.