Skip to content

Commit

Permalink
Merge pull request #101 from prysmex/eui_Icon
Browse files Browse the repository at this point in the history
Eui_Icon_41.4.0
  • Loading branch information
betocantu93 authored Mar 18, 2022
2 parents c137ee0 + eabb710 commit c1c4493
Show file tree
Hide file tree
Showing 2 changed files with 875 additions and 120 deletions.
159 changes: 91 additions & 68 deletions packages/core/addon/utils/css-mappings/eui-icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ export const typeToPathMap = {
accessibility: 'accessibility',
addDataApp: 'app_add_data',
advancedSettingsApp: 'app_advanced_settings',
agentApp: 'app_fleet',
aggregate: 'aggregate',
alert: 'alert',
analyzeEvent: 'analyze_event',
analyzeEvent: 'analyzeEvent',
annotation: 'annotation',
apmApp: 'app_apm',
apmTrace: 'apm_trace',
apps: 'apps',
appSearchApp: 'app_app_search',
apps: 'apps',
arrowDown: 'arrow_down',
arrowLeft: 'arrow_left',
arrowRight: 'arrow_right',
Expand All @@ -31,7 +32,6 @@ export const typeToPathMap = {
bullseye: 'bullseye',
calendar: 'calendar',
canvasApp: 'app_canvas',
codeApp: 'app_code',
check: 'check',
checkInCircleFilled: 'checkInCircleFilled',
cheer: 'cheer',
Expand All @@ -40,9 +40,15 @@ export const typeToPathMap = {
cloudDrizzle: 'cloudDrizzle',
cloudStormy: 'cloudStormy',
cloudSunny: 'cloudSunny',
codeApp: 'app_code',
color: 'color',
compute: 'compute',
console: 'console',
consoleApp: 'app_console',
continuityAbove: 'continuityAbove',
continuityAboveBelow: 'continuityAboveBelow',
continuityBelow: 'continuityBelow',
continuityWithin: 'continuityWithin',
controlsHorizontal: 'controls_horizontal',
controlsVertical: 'controls_vertical',
copy: 'copy',
Expand All @@ -53,17 +59,18 @@ export const typeToPathMap = {
createSingleMetricJob: 'ml_create_single_metric_job',
cross: 'cross',
crossClusterReplicationApp: 'app_cross_cluster_replication',
crosshairs: 'crosshairs',
crossInACircleFilled: 'crossInACircleFilled',
crosshairs: 'crosshairs',
currency: 'currency',
cut: 'cut',
dashboardApp: 'app_dashboard',
database: 'database',
dataVisualizer: 'ml_data_visualizer',
database: 'database',
devToolsApp: 'app_devtools',
discoverApp: 'app_discover',
document: 'document',
documentEdit: 'documentEdit',
documentation: 'documentation',
documents: 'documents',
dot: 'dot',
download: 'download',
Expand All @@ -77,9 +84,9 @@ export const typeToPathMap = {
editorDistributeVertical: 'editorDistributeVertical',
editorHeading: 'editor_heading',
editorItalic: 'editor_italic',
editorItemAlignLeft: 'editorItemAlignLeft',
editorItemAlignBottom: 'editorItemAlignBottom',
editorItemAlignCenter: 'editorItemAlignCenter',
editorItemAlignLeft: 'editorItemAlignLeft',
editorItemAlignMiddle: 'editorItemAlignMiddle',
editorItemAlignRight: 'editorItemAlignRight',
editorItemAlignTop: 'editorItemAlignTop',
Expand All @@ -99,24 +106,30 @@ export const typeToPathMap = {
empty: 'empty',
emsApp: 'app_ems',
eql: 'eql',
eraser: 'eraser',
exit: 'exit',
expand: 'expand',
expandMini: 'expandMini',
exportAction: 'export',
eye: 'eye',
eyeClosed: 'eye_closed',
faceHappy: 'face_happy',
faceNeutral: 'faceNeutral',
faceNeutral: 'face_neutral',
faceSad: 'face_sad',
filebeatApp: 'app_filebeat',
filter: 'filter',
flag: 'flag',
fleetApp: 'app_agent',
fold: 'fold',
folderCheck: 'folder_check',
folderClosed: 'folder_closed',
folderExclamation: 'folder_exclamation',
folderOpen: 'folder_open',
frameNext: 'frameNext',
framePrevious: 'framePrevious',
fullScreen: 'full_screen',
fullScreenExit: 'fullScreenExit',
function: 'function',
gear: 'gear',
gisApp: 'app_gis',
glasses: 'glasses',
Expand All @@ -142,6 +155,7 @@ export const typeToPathMap = {
indexOpen: 'index_open',
indexPatternApp: 'app_index_pattern',
indexRollupApp: 'app_index_rollup',
indexRuntime: 'index_runtime',
indexSettings: 'index_settings',
inputOutput: 'inputOutput',
inspect: 'inspect',
Expand All @@ -153,18 +167,18 @@ export const typeToPathMap = {
kqlOperand: 'kql_operand',
kqlSelector: 'kql_selector',
kqlValue: 'kql_value',
layers: 'layers',
lensApp: 'app_lens',
link: 'link',
list: 'list',
listAdd: 'list_add',
lock: 'lock',
lockOpen: 'lockOpen',
logsApp: 'app_logs',
logoAWS: 'logo_aws',
logoAWSMono: 'logo_aws_mono',
logoAerospike: 'logo_aerospike',
logoApache: 'logo_apache',
logoAppSearch: 'logo_app_search',
logoAWS: 'logo_aws',
logoAWSMono: 'logo_aws_mono',
logoAzure: 'logo_azure',
logoAzureMono: 'logo_azure_mono',
logoBeats: 'logo_beats',
Expand All @@ -178,8 +192,8 @@ export const typeToPathMap = {
logoDocker: 'logo_docker',
logoDropwizard: 'logo_dropwizard',
logoElastic: 'logo_elastic',
logoElasticsearch: 'logo_elasticsearch',
logoElasticStack: 'logo_elastic_stack',
logoElasticsearch: 'logo_elasticsearch',
logoEnterpriseSearch: 'logo_enterprise_search',
logoEtcd: 'logo_etcd',
logoGCP: 'logo_gcp',
Expand Down Expand Up @@ -217,6 +231,7 @@ export const typeToPathMap = {
logoWebhook: 'logo_webhook',
logoWindows: 'logo_windows',
logoWorkplaceSearch: 'logo_workplace_search',
logsApp: 'app_logs',
logstashFilter: 'logstash_filter',
logstashIf: 'logstash_if',
logstashInput: 'logstash_input',
Expand Down Expand Up @@ -255,14 +270,17 @@ export const typeToPathMap = {
packetbeatApp: 'app_packetbeat',
pageSelect: 'pageSelect',
pagesSelect: 'pagesSelect',
partial: 'partial',
paperClip: 'paper_clip',
partial: 'partial',
pause: 'pause',
payment: 'payment',
pencil: 'pencil',
percent: 'percent',
pin: 'pin',
pinFilled: 'pin_filled',
pipelineApp: 'app_pipeline',
play: 'play',
playFilled: 'playFilled',
plus: 'plus',
plusInCircle: 'plus_in_circle',
plusInCircleFilled: 'plus_in_circle_filled',
Expand All @@ -289,11 +307,11 @@ export const typeToPathMap = {
shard: 'shard',
share: 'share',
snowflake: 'snowflake',
sortable: 'sortable',
sortDown: 'sort_down',
sortLeft: 'sortLeft',
sortRight: 'sortRight',
sortUp: 'sort_up',
sortable: 'sortable',
spacesApp: 'app_spaces',
sqlApp: 'app_sql',
starEmpty: 'star_empty',
Expand All @@ -313,21 +331,22 @@ export const typeToPathMap = {
submodule: 'submodule',
swatchInput: 'swatch_input', // Undocumented on purpose. Has an extra stroke for EuiColorPicker
symlink: 'symlink',
tableOfContents: 'tableOfContents',
tableDensityExpanded: 'table_density_expanded',
tableDensityCompact: 'table_density_compact',
tableDensityExpanded: 'table_density_expanded',
tableDensityNormal: 'table_density_normal',
tableOfContents: 'tableOfContents',
tag: 'tag',
tear: 'tear',
temperature: 'temperature',
timeline: 'timeline',
timelionApp: 'app_timelion',
timeslider: 'timeslider',
training: 'training',
trash: 'trash',
upgradeAssistantApp: 'app_upgrade_assistant',
uptimeApp: 'app_uptime',
unfold: 'unfold',
unlink: 'unlink',
upgradeAssistantApp: 'app_upgrade_assistant',
uptimeApp: 'app_uptime',
user: 'user',
users: 'users',
usersRolesApp: 'app_users_roles',
Expand All @@ -350,63 +369,67 @@ export const typeToPathMap = {
visTagCloud: 'vis_tag_cloud',
visText: 'vis_text',
visTimelion: 'vis_timelion',
visualizeApp: 'app_visualize',
visVega: 'vis_vega',
visVisualBuilder: 'vis_visual_builder',
visualizeApp: 'app_visualize',
watchesApp: 'app_watches',
wordWrap: 'wordWrap',
wordWrapDisabled: 'wordWrapDisabled',
workplaceSearchApp: 'app_workplace_search',
wrench: 'wrench',
// Token Icon Imports
tokenClass: 'tokens/tokenClass',
tokenProperty: 'tokens/tokenProperty',
tokenEnum: 'tokens/tokenEnum',
tokenVariable: 'tokens/tokenVariable',
tokenMethod: 'tokens/tokenMethod',
tokenAnnotation: 'tokens/tokenAnnotation',
tokenException: 'tokens/tokenException',
tokenInterface: 'tokens/tokenInterface',
tokenParameter: 'tokens/tokenParameter',
tokenField: 'tokens/tokenField',
tokenElement: 'tokens/tokenElement',
tokenFunction: 'tokens/tokenFunction',
tokenBoolean: 'tokens/tokenBoolean',
tokenString: 'tokens/tokenString',
tokenArray: 'tokens/tokenArray',
tokenNumber: 'tokens/tokenNumber',
tokenConstant: 'tokens/tokenConstant',
tokenObject: 'tokens/tokenObject',
tokenEvent: 'tokens/tokenEvent',
tokenKey: 'tokens/tokenKey',
tokenNull: 'tokens/tokenNull',
tokenStruct: 'tokens/tokenStruct',
tokenPackage: 'tokens/tokenPackage',
tokenOperator: 'tokens/tokenOperator',
tokenEnumMember: 'tokens/tokenEnumMember',
tokenRepo: 'tokens/tokenRepo',
tokenSymbol: 'tokens/tokenSymbol',
tokenFile: 'tokens/tokenFile',
tokenModule: 'tokens/tokenModule',
tokenNamespace: 'tokens/tokenNamespace',
tokenDate: 'tokens/tokenDate',
tokenIP: 'tokens/tokenIP',
tokenNested: 'tokens/tokenNested',
tokenAlias: 'tokens/tokenAlias',
tokenShape: 'tokens/tokenShape',
tokenGeo: 'tokens/tokenGeo',
tokenRange: 'tokens/tokenRange',
tokenBinary: 'tokens/tokenBinary',
tokenJoin: 'tokens/tokenJoin',
tokenPercolator: 'tokens/tokenPercolator',
tokenFlattened: 'tokens/tokenFlattened',
tokenRankFeature: 'tokens/tokenRankFeature',
tokenRankFeatures: 'tokens/tokenRankFeatures',
tokenKeyword: 'tokens/tokenKeyword',
tokenCompletionSuggester: 'tokens/tokenCompletionSuggester',
tokenDenseVector: 'tokens/tokenDenseVector',
tokenText: 'tokens/tokenText',
tokenTokenCount: 'tokens/tokenTokenCount',
tokenSearchType: 'tokens/tokenSearchType',
tokenHistogram: 'tokens/tokenHistogram'
tokenClass: 'tokenClass',
tokenProperty: 'tokenProperty',
tokenEnum: 'tokenEnum',
tokenVariable: 'tokenVariable',
tokenMethod: 'tokenMethod',
tokenAnnotation: 'tokenAnnotation',
tokenException: 'tokenException',
tokenInterface: 'tokenInterface',
tokenParameter: 'tokenParameter',
tokenField: 'tokenField',
tokenElement: 'tokenElement',
tokenFunction: 'tokenFunction',
tokenBoolean: 'tokenBoolean',
tokenString: 'tokenString',
tokenArray: 'tokenArray',
tokenNumber: 'tokenNumber',
tokenConstant: 'tokenConstant',
tokenObject: 'tokenObject',
tokenEvent: 'tokenEvent',
tokenKey: 'tokenKey',
tokenNull: 'tokenNull',
tokenStruct: 'tokenStruct',
tokenPackage: 'tokenPackage',
tokenOperator: 'tokenOperator',
tokenEnumMember: 'tokenEnumMember',
tokenRepo: 'tokenRepo',
tokenSymbol: 'tokenSymbol',
tokenFile: 'tokenFile',
tokenModule: 'tokenModule',
tokenNamespace: 'tokenNamespace',
tokenDate: 'tokenDate',
tokenIP: 'tokenIP',
tokenNested: 'tokenNested',
tokenAlias: 'tokenAlias',
tokenShape: 'tokenShape',
tokenGeo: 'tokenGeo',
tokenRange: 'tokenRange',
tokenBinary: 'tokenBinary',
tokenJoin: 'tokenJoin',
tokenPercolator: 'tokenPercolator',
tokenFlattened: 'tokenFlattened',
tokenRankFeature: 'tokenRankFeature',
tokenRankFeatures: 'tokenRankFeatures',
tokenKeyword: 'tokenKeyword',
tokenTag: 'tokenTag',
tokenCompletionSuggester: 'tokenCompletionSuggester',
tokenDenseVector: 'tokenDenseVector',
tokenText: 'tokenText',
tokenTokenCount: 'tokenTokenCount',
tokenSearchType: 'tokenSearchType',
tokenHistogram: 'tokenHistogram',

};

export const sizeToClassNameMap = {
Expand Down
Loading

0 comments on commit c1c4493

Please sign in to comment.