Update dependency fork-awesome to v1.2.0 (#1453)

* Update dependency fork-awesome to v1.2.0

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Move fork awesome icon definition

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Add icons of fork awesome 1.2

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

* Reorganize icon name list

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
renovate[bot] 2021-08-29 19:41:09 +02:00 committed by GitHub
parent f6b891b780
commit 98f1433b9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 816 additions and 778 deletions

View file

@ -48,7 +48,7 @@
"fast-deep-equal": "3.1.3",
"firacode": "5.2.0",
"flowchart.js": "1.15.0",
"fork-awesome": "1.1.7",
"fork-awesome": "1.2.0",
"highlight.js": "11.2.0",
"i18next": "20.4.0",
"i18next-browser-languagedetector": "6.1.2",

View file

@ -0,0 +1,804 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
export const ForkAwesomeIcons = [
'500px',
'activitypub',
'address-book-o',
'address-book',
'address-card-o',
'address-card',
'adjust',
'adn',
'align-center',
'align-justify',
'align-left',
'align-right',
'amazon',
'ambulance',
'american-sign-language-interpreting',
'anchor',
'android',
'angellist',
'angle-double-down',
'angle-double-left',
'angle-double-right',
'angle-double-up',
'angle-down',
'angle-left',
'angle-right',
'angle-up',
'apple',
'archive-org',
'archive',
'archlinux',
'area-chart',
'arrow-circle-down',
'arrow-circle-left',
'arrow-circle-o-down',
'arrow-circle-o-left',
'arrow-circle-o-right',
'arrow-circle-o-up',
'arrow-circle-right',
'arrow-circle-up',
'arrow-down',
'arrow-left',
'arrow-right',
'arrows-alt',
'arrows-h',
'arrows',
'arrows-v',
'arrow-up',
'artstation',
'askfm',
'assistive-listening-systems',
'asterisk',
'at',
'att',
'audio-description',
'backward',
'balance-scale',
'bandcamp',
'ban',
'bar-chart',
'barcode',
'bars',
'bath',
'battery-empty',
'battery-full',
'battery-half',
'battery-quarter',
'battery-three-quarters',
'bed',
'beer',
'behance-square',
'behance',
'bell-o',
'bell-rigning-o',
'bell-ringing',
'bell-slash-o',
'bell-slash',
'bell',
'bicycle',
'binoculars',
'biometric',
'birthday-cake',
'bitbucket-square',
'bitbucket',
'black-tie',
'blind',
'blockstack',
'bluetooth-b',
'bluetooth',
'boardgamegeek',
'bold',
'bolt',
'bomb',
'bookmark-o',
'bookmark',
'book',
'bootstrap',
'braille',
'briefcase',
'btc',
'bug',
'building-o',
'building',
'bullhorn',
'bullseye',
'bunny',
'bus',
'buymeacoffee',
'buysellads',
'calculator',
'calendar-check-o',
'calendar-minus-o',
'calendar-o',
'calendar-plus-o',
'calendar',
'calendar-times-o',
'camera-retro',
'camera',
'caret-down',
'caret-left',
'caret-right',
'caret-square-o-down',
'caret-square-o-left',
'caret-square-o-right',
'caret-square-o-up',
'caret-up',
'car',
'cart-arrow-down',
'cart-plus',
'cc-amex',
'cc-by',
'cc-cc',
'cc-diners-club',
'cc-discover',
'cc-jcb',
'cc-mastercard',
'cc-nc-eu',
'cc-nc-jp',
'cc-nc',
'cc-nd',
'cc-paypal',
'cc-pd',
'cc-remix',
'cc-sa',
'cc-share',
'cc-stripe',
'cc',
'cc-visa',
'cc-zero',
'certificate',
'chain-broken',
'check-circle-o',
'check-circle',
'check-square-o',
'check-square',
'check',
'chevron-circle-down',
'chevron-circle-left',
'chevron-circle-right',
'chevron-circle-up',
'chevron-down',
'chevron-left',
'chevron-right',
'chevron-up',
'child',
'chrome',
'circle-o-notch',
'circle-o',
'circle',
'circle-thin',
'classicpress-circle',
'classicpress',
'clipboard',
'clock-o',
'clone',
'cloud-download',
'cloud',
'cloud-upload',
'code-fork',
'codepen',
'code',
'codiepie',
'coffee',
'cogs',
'cog',
'columns',
'commenting-o',
'commenting',
'comment-o',
'comments-o',
'comments',
'comment',
'compass',
'compress',
'connectdevelop',
'contao',
'conway-glider',
'copyright',
'creative-commons',
'credit-card-alt',
'credit-card',
'crop',
'crosshairs',
'csharp',
'css3',
'c',
'cubes',
'cube',
'cutlery',
'dashcube',
'database',
'deaf',
'debian',
'delicious',
'desktop',
'deviantart',
'dev-to',
'diamond',
'diaspora',
'digg',
'digitalocean',
'discord-alt',
'discord',
'dogmazic',
'dot-circle-o',
'download',
'dribbble',
'dropbox',
'drupal',
'edge',
'eercast',
'eject',
'ellipsis-h',
'ellipsis-v',
'email-bulk-o',
'email-bulk',
'emby',
'empire',
'envelope-open-o',
'envelope-open',
'envelope-o',
'envelope-square',
'envelope',
'envira',
'eraser',
'ethereum',
'etsy',
'eur',
'exchange',
'exclamation-circle',
'exclamation',
'exclamation-triangle',
'expand',
'expeditedssl',
'external-link-square',
'external-link',
'eyedropper',
'eye-slash',
'eye',
'facebook-messenger',
'facebook-official',
'facebook-square',
'facebook',
'fast-backward',
'fast-forward',
'fax',
'f-droid',
'female',
'ffmpeg',
'fighter-jet',
'file-archive-o',
'file-audio-o',
'file-code-o',
'file-epub',
'file-excel-o',
'file-image-o',
'file-o',
'file-pdf-o',
'file-powerpoint-o',
'files-o',
'file',
'file-text-o',
'file-text',
'file-video-o',
'file-word-o',
'film',
'filter',
'fire-extinguisher',
'firefox',
'fire',
'first-order',
'flag-checkered',
'flag-o',
'flag',
'flask',
'flickr',
'floppy-o',
'folder-open-o',
'folder-open',
'folder-o',
'folder',
'font-awesome',
'fonticons',
'font',
'fork-awesome',
'fort-awesome',
'forumbee',
'forward',
'foursquare',
'free-code-camp',
'freedombox',
'friendica',
'frown-o',
'funkwhale',
'futbol-o',
'gamepad',
'gavel',
'gbp',
'genderless',
'get-pocket',
'gg-circle',
'gg',
'gift',
'gimp',
'gitea',
'github-alt',
'github-square',
'github',
'gitlab',
'git-square',
'git',
'glass',
'glide-g',
'glide',
'globe-e',
'globe',
'globe-w',
'gnupg',
'gnu-social',
'gnu',
'google-play',
'google-plus-official',
'google-plus-square',
'google-plus',
'google',
'google-wallet',
'graduation-cap',
'gratipay',
'grav',
'hackaday',
'hacker-news',
'hackster',
'hal',
'hand-lizard-o',
'hand-o-down',
'hand-o-left',
'hand-o-right',
'hand-o-up',
'hand-paper-o',
'hand-peace-o',
'hand-pointer-o',
'hand-rock-o',
'hand-scissors-o',
'handshake-o',
'hand-spock-o',
'hashnode',
'hashtag',
'hdd-o',
'header',
'headphones',
'heartbeat',
'heart-o',
'heart',
'heroku',
'history',
'home-assistant',
'home',
'hospital-o',
'hourglass-end',
'hourglass-half',
'hourglass-o',
'hourglass-start',
'hourglass',
'houzz',
'h-square',
'html5',
'hubzilla',
'i-cursor',
'id-badge',
'id-card-o',
'id-card',
'ils',
'imdb',
'inbox',
'indent',
'industry',
'info-circle',
'info',
'inkscape',
'inr',
'instagram',
'internet-explorer',
'ioxhost',
'italic',
'java',
'jirafeau',
'joomla',
'joplin',
'jpy',
'jsfiddle',
'julia',
'jupyter',
'keybase',
'keyboard-o',
'key-modern',
'key',
'krw',
'language',
'laptop',
'laravel',
'lastfm-square',
'lastfm',
'leaf',
'leanpub',
'lemon-o',
'level-down',
'level-up',
'liberapay-square',
'liberapay',
'life-ring',
'lightbulb-o',
'line-chart',
'linkedin-square',
'linkedin',
'link',
'linode',
'linux',
'list-alt',
'list-ol',
'list',
'list-ul',
'location-arrow',
'lock',
'long-arrow-down',
'long-arrow-left',
'long-arrow-right',
'long-arrow-up',
'low-vision',
'magic',
'magnet',
'male',
'map-marker',
'map-o',
'map-pin',
'map-signs',
'map',
'mariadb',
'markdown',
'mars-double',
'mars-stroke-h',
'mars-stroke',
'mars-stroke-v',
'mars',
'mastodon-alt',
'mastodon-square',
'mastodon',
'matrix-org',
'maxcdn',
'meanpath',
'medium-square',
'medium',
'medkit',
'meetup',
'meh-o',
'mercury',
'microchip',
'microphone-slash',
'microphone',
'minus-circle',
'minus-square-o',
'minus-square',
'minus',
'mixcloud',
'mobile',
'modx',
'money',
'moon-o',
'moon',
'motorcycle',
'mouse-pointer',
'music',
'mysql',
'neuter',
'newspaper-o',
'nextcloud-square',
'nextcloud',
'nodejs',
'nordcast',
'object-group',
'object-ungroup',
'odnoklassniki-square',
'odnoklassniki',
'opencart',
'open-collective',
'openid',
'opera',
'optin-monster',
'orcid',
'outdent',
'pagelines',
'paint-brush',
'paperclip',
'paper-plane-o',
'paper-plane',
'paragraph',
'patreon',
'pause-circle-o',
'pause-circle',
'pause',
'paw',
'paypal',
'peertube',
'pencil-square-o',
'pencil-square',
'pencil',
'percent',
'phone-square',
'phone',
'php',
'picture-o',
'pie-chart',
'pinterest-p',
'pinterest-square',
'pinterest',
'pixelfed',
'plane',
'play-circle-o',
'play-circle',
'play',
'pleroma',
'plug',
'plume',
'plus-circle',
'plus-square-o',
'plus-square',
'plus',
'podcast',
'postgresql',
'power-off',
'print',
'product-hunt',
'puzzle-piece',
'python',
'qq',
'qrcode',
'question-circle-o',
'question-circle',
'question',
'quora',
'quote-left',
'quote-right',
'random',
'ravelry',
'react',
'rebel',
'recycle',
'reddit-alien',
'reddit-square',
'reddit',
'refresh',
'registered',
'renren',
'repeat',
'reply-all',
'reply',
'researchgate',
'retweet',
'road',
'rocket',
'rss-square',
'rss',
'rub',
'safari',
'sass-alt',
'sass',
'scissors',
'scribd',
'scuttlebutt',
'search-minus',
'search-plus',
'search',
'sellsy',
'server',
'shaarli-o',
'shaarli',
'share-alt-square',
'share-alt',
'share-square-o',
'share-square',
'share',
'shield',
'ship',
'shirtsinbulk',
'shopping-bag',
'shopping-basket',
'shopping-cart',
'shower',
'signalapp',
'signal',
'sign-in',
'sign-language',
'sign-out',
'simplybuilt',
'sitemap',
'skate',
'sketchfab',
'skyatlas',
'skype',
'slack',
'sliders',
'slideshare',
'smile-o',
'snapchat-ghost',
'snapchat-square',
'snapchat',
'snowdrift',
'snowflake-o',
'social-home',
'sort-alpha-asc',
'sort-alpha-desc',
'sort-amount-asc',
'sort-amount-desc',
'sort-asc',
'sort-desc',
'sort-numeric-asc',
'sort-numeric-desc',
'sort',
'soundcloud',
'space-shuttle',
'spell-check',
'spinner',
'spoon',
'spotify',
'square-o',
'square',
'stack-exchange',
'stack-overflow',
'star-half-o',
'star-half',
'star-o',
'star',
'steam-square',
'steam',
'step-backward',
'step-forward',
'stethoscope',
'sticky-note-o',
'sticky-note',
'stop-circle-o',
'stop-circle',
'stop',
'street-view',
'strikethrough',
'stumbleupon-circle',
'stumbleupon',
'subscript',
'subway',
'suitcase',
'sun-o',
'sun',
'superpowers',
'superscript',
'syncthing',
'table',
'tablet',
'tachometer',
'tags',
'tag',
'tasks',
'taxi',
'telegram',
'television',
'tencent-weibo',
'terminal',
'tex',
'text-height',
'textpattern',
'text-width',
'themeisle',
'thermometer-empty',
'thermometer-full',
'thermometer-half',
'thermometer-quarter',
'thermometer-three-quarters',
'th-large',
'th-list',
'th',
'thumbs-down',
'thumbs-o-down',
'thumbs-o-up',
'thumbs-up',
'thumb-tack',
'ticket',
'times-circle-o',
'times-circle',
'times',
'tint',
'tipeee',
'toggle-off',
'toggle-on',
'tor-onion',
'trademark',
'train',
'transgender-alt',
'transgender',
'trash-o',
'trash',
'tree',
'trello',
'tripadvisor',
'trophy',
'truck',
'try',
'tty',
'tumblr-square',
'tumblr',
'twitch',
'twitter-square',
'twitter',
'umbrella',
'underline',
'undo',
'unity',
'universal-access',
'university',
'unlock-alt',
'unlock',
'unslpash',
'upload',
'usb',
'usd',
'user-circle-o',
'user-circle',
'user-md',
'user-o',
'user-plus',
'user-secret',
'users',
'user',
'user-times',
'venus-double',
'venus-mars',
'venus',
'viacoin',
'viadeo-square',
'viadeo',
'video-camera',
'vimeo-square',
'vimeo',
'vine',
'vk',
'volume-control-phone',
'volume-down',
'volume-mute',
'volume-off',
'volume-up',
'weibo',
'weixin',
'whatsapp',
'wheelchair-alt',
'wheelchair',
'wifi',
'wikidata',
'wikipedia-w',
'window-close-o',
'window-close',
'window-maximize',
'window-minimize',
'window-restore',
'windows',
'wire',
'wordpress',
'wpbeginner',
'wpexplorer',
'wpforms',
'wrench',
'xing-square',
'xing',
'xmpp',
'yahoo',
'y-combinator',
'yelp',
'yoast',
'youtube-play',
'youtube-square',
'youtube',
'zotero'
] as const

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { ForkAwesomeIcons } from '../../editor-page/editor-pane/tool-bar/emoji-picker/icon-names'
import { ForkAwesomeIcons } from './fork-awesome-icons'
export type IconName = keyof typeof ForkAwesomeIcons
export type IconName = typeof ForkAwesomeIcons[number]
export type IconSize = '2x' | '3x' | '4x' | '5x'

View file

@ -11,7 +11,7 @@ import { useClickAway } from 'react-use'
import { useIsDarkModeActivated } from '../../../../../hooks/common/use-is-dark-mode-activated'
import './emoji-picker.scss'
import forkawesomeIcon from './forkawesome.png'
import { ForkAwesomeIcons } from './icon-names'
import { ForkAwesomeIcons } from '../../../../common/fork-awesome/fork-awesome-icons'
export interface EmojiPickerProps {
show: boolean
@ -19,7 +19,7 @@ export interface EmojiPickerProps {
onDismiss: () => void
}
export const customEmojis: CustomEmoji[] = Object.keys(ForkAwesomeIcons).map((name) => ({
export const customEmojis: CustomEmoji[] = ForkAwesomeIcons.map((name) => ({
name: `fa-${name}`,
shortcodes: [`fa-${name.toLowerCase()}`],
url: forkawesomeIcon,

View file

@ -1,766 +0,0 @@
/*
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
export enum ForkAwesomeIcons {
'500px' = '500px',
'activitypub' = 'activitypub',
'address-book-o' = 'address-book-o',
'address-book' = 'address-book',
'address-card-o' = 'address-card-o',
'address-card' = 'address-card',
'adjust' = 'adjust',
'adn' = 'adn',
'align-center' = 'align-center',
'align-justify' = 'align-justify',
'align-left' = 'align-left',
'align-right' = 'align-right',
'amazon' = 'amazon',
'ambulance' = 'ambulance',
'american-sign-language-interpreting' = 'american-sign-language-interpreting',
'anchor' = 'anchor',
'android' = 'android',
'angellist' = 'angellist',
'angle-double-down' = 'angle-double-down',
'angle-double-left' = 'angle-double-left',
'angle-double-right' = 'angle-double-right',
'angle-double-up' = 'angle-double-up',
'angle-down' = 'angle-down',
'angle-left' = 'angle-left',
'angle-right' = 'angle-right',
'angle-up' = 'angle-up',
'apple' = 'apple',
'archive-org' = 'archive-org',
'archive' = 'archive',
'archlinux' = 'archlinux',
'area-chart' = 'area-chart',
'arrow-circle-down' = 'arrow-circle-down',
'arrow-circle-left' = 'arrow-circle-left',
'arrow-circle-o-down' = 'arrow-circle-o-down',
'arrow-circle-o-left' = 'arrow-circle-o-left',
'arrow-circle-o-right' = 'arrow-circle-o-right',
'arrow-circle-o-up' = 'arrow-circle-o-up',
'arrow-circle-right' = 'arrow-circle-right',
'arrow-circle-up' = 'arrow-circle-up',
'arrow-down' = 'arrow-down',
'arrow-left' = 'arrow-left',
'arrow-right' = 'arrow-right',
'arrows-alt' = 'arrows-alt',
'arrows-h' = 'arrows-h',
'arrows' = 'arrows',
'arrows-v' = 'arrows-v',
'arrow-up' = 'arrow-up',
'artstation' = 'artstation',
'assistive-listening-systems' = 'assistive-listening-systems',
'asterisk' = 'asterisk',
'at' = 'at',
'att' = 'att',
'audio-description' = 'audio-description',
'backward' = 'backward',
'balance-scale' = 'balance-scale',
'bandcamp' = 'bandcamp',
'ban' = 'ban',
'bar-chart' = 'bar-chart',
'barcode' = 'barcode',
'bars' = 'bars',
'bath' = 'bath',
'battery-empty' = 'battery-empty',
'battery-full' = 'battery-full',
'battery-half' = 'battery-half',
'battery-quarter' = 'battery-quarter',
'battery-three-quarters' = 'battery-three-quarters',
'bed' = 'bed',
'beer' = 'beer',
'behance-square' = 'behance-square',
'behance' = 'behance',
'bell-o' = 'bell-o',
'bell-rigning-o' = 'bell-rigning-o',
'bell-ringing' = 'bell-ringing',
'bell-slash-o' = 'bell-slash-o',
'bell-slash' = 'bell-slash',
'bell' = 'bell',
'bicycle' = 'bicycle',
'binoculars' = 'binoculars',
'biometric' = 'biometric',
'birthday-cake' = 'birthday-cake',
'bitbucket-square' = 'bitbucket-square',
'bitbucket' = 'bitbucket',
'black-tie' = 'black-tie',
'blind' = 'blind',
'bluetooth-b' = 'bluetooth-b',
'bluetooth' = 'bluetooth',
'bold' = 'bold',
'bolt' = 'bolt',
'bomb' = 'bomb',
'bookmark-o' = 'bookmark-o',
'bookmark' = 'bookmark',
'book' = 'book',
'bootstrap' = 'bootstrap',
'braille' = 'braille',
'briefcase' = 'briefcase',
'btc' = 'btc',
'bug' = 'bug',
'building-o' = 'building-o',
'building' = 'building',
'bullhorn' = 'bullhorn',
'bullseye' = 'bullseye',
'bus' = 'bus',
'buysellads' = 'buysellads',
'calculator' = 'calculator',
'calendar-check-o' = 'calendar-check-o',
'calendar-minus-o' = 'calendar-minus-o',
'calendar-o' = 'calendar-o',
'calendar-plus-o' = 'calendar-plus-o',
'calendar' = 'calendar',
'calendar-times-o' = 'calendar-times-o',
'camera-retro' = 'camera-retro',
'camera' = 'camera',
'caret-down' = 'caret-down',
'caret-left' = 'caret-left',
'caret-right' = 'caret-right',
'caret-square-o-down' = 'caret-square-o-down',
'caret-square-o-left' = 'caret-square-o-left',
'caret-square-o-right' = 'caret-square-o-right',
'caret-square-o-up' = 'caret-square-o-up',
'caret-up' = 'caret-up',
'car' = 'car',
'cart-arrow-down' = 'cart-arrow-down',
'cart-plus' = 'cart-plus',
'cc-amex' = 'cc-amex',
'cc-diners-club' = 'cc-diners-club',
'cc-discover' = 'cc-discover',
'cc-jcb' = 'cc-jcb',
'cc-mastercard' = 'cc-mastercard',
'cc-paypal' = 'cc-paypal',
'cc-stripe' = 'cc-stripe',
'cc' = 'cc',
'cc-visa' = 'cc-visa',
'certificate' = 'certificate',
'chain-broken' = 'chain-broken',
'check-circle-o' = 'check-circle-o',
'check-circle' = 'check-circle',
'check-square-o' = 'check-square-o',
'check-square' = 'check-square',
'check' = 'check',
'chevron-circle-down' = 'chevron-circle-down',
'chevron-circle-left' = 'chevron-circle-left',
'chevron-circle-right' = 'chevron-circle-right',
'chevron-circle-up' = 'chevron-circle-up',
'chevron-down' = 'chevron-down',
'chevron-left' = 'chevron-left',
'chevron-right' = 'chevron-right',
'chevron-up' = 'chevron-up',
'child' = 'child',
'chrome' = 'chrome',
'circle-o-notch' = 'circle-o-notch',
'circle-o' = 'circle-o',
'circle' = 'circle',
'circle-thin' = 'circle-thin',
'classicpress-circle' = 'classicpress-circle',
'classicpress' = 'classicpress',
'clipboard' = 'clipboard',
'clock-o' = 'clock-o',
'clone' = 'clone',
'cloud-download' = 'cloud-download',
'cloud' = 'cloud',
'cloud-upload' = 'cloud-upload',
'code-fork' = 'code-fork',
'codepen' = 'codepen',
'code' = 'code',
'codiepie' = 'codiepie',
'coffee' = 'coffee',
'cogs' = 'cogs',
'cog' = 'cog',
'columns' = 'columns',
'commenting-o' = 'commenting-o',
'commenting' = 'commenting',
'comment-o' = 'comment-o',
'comments-o' = 'comments-o',
'comments' = 'comments',
'comment' = 'comment',
'compass' = 'compass',
'compress' = 'compress',
'connectdevelop' = 'connectdevelop',
'contao' = 'contao',
'copyright' = 'copyright',
'creative-commons' = 'creative-commons',
'credit-card-alt' = 'credit-card-alt',
'credit-card' = 'credit-card',
'crop' = 'crop',
'crosshairs' = 'crosshairs',
'css3' = 'css3',
'c' = 'c',
'cubes' = 'cubes',
'cube' = 'cube',
'cutlery' = 'cutlery',
'dashcube' = 'dashcube',
'database' = 'database',
'deaf' = 'deaf',
'debian' = 'debian',
'delicious' = 'delicious',
'desktop' = 'desktop',
'deviantart' = 'deviantart',
'dev-to' = 'dev-to',
'diamond' = 'diamond',
'diaspora' = 'diaspora',
'digg' = 'digg',
'digitalocean' = 'digitalocean',
'discord-alt' = 'discord-alt',
'discord' = 'discord',
'dogmazic' = 'dogmazic',
'dot-circle-o' = 'dot-circle-o',
'download' = 'download',
'dribbble' = 'dribbble',
'dropbox' = 'dropbox',
'drupal' = 'drupal',
'edge' = 'edge',
'eercast' = 'eercast',
'eject' = 'eject',
'ellipsis-h' = 'ellipsis-h',
'ellipsis-v' = 'ellipsis-v',
'emby' = 'emby',
'empire' = 'empire',
'envelope-open-o' = 'envelope-open-o',
'envelope-open' = 'envelope-open',
'envelope-o' = 'envelope-o',
'envelope-square' = 'envelope-square',
'envelope' = 'envelope',
'envira' = 'envira',
'eraser' = 'eraser',
'ethereum' = 'ethereum',
'etsy' = 'etsy',
'eur' = 'eur',
'exchange' = 'exchange',
'exclamation-circle' = 'exclamation-circle',
'exclamation' = 'exclamation',
'exclamation-triangle' = 'exclamation-triangle',
'expand' = 'expand',
'expeditedssl' = 'expeditedssl',
'external-link-square' = 'external-link-square',
'external-link' = 'external-link',
'eyedropper' = 'eyedropper',
'eye-slash' = 'eye-slash',
'eye' = 'eye',
'facebook-messenger' = 'facebook-messenger',
'facebook-official' = 'facebook-official',
'facebook-square' = 'facebook-square',
'facebook' = 'facebook',
'fast-backward' = 'fast-backward',
'fast-forward' = 'fast-forward',
'fax' = 'fax',
'f-droid' = 'f-droid',
'female' = 'female',
'ffmpeg' = 'ffmpeg',
'fighter-jet' = 'fighter-jet',
'file-archive-o' = 'file-archive-o',
'file-audio-o' = 'file-audio-o',
'file-code-o' = 'file-code-o',
'file-epub' = 'file-epub',
'file-excel-o' = 'file-excel-o',
'file-image-o' = 'file-image-o',
'file-o' = 'file-o',
'file-pdf-o' = 'file-pdf-o',
'file-powerpoint-o' = 'file-powerpoint-o',
'files-o' = 'files-o',
'file' = 'file',
'file-text-o' = 'file-text-o',
'file-text' = 'file-text',
'file-video-o' = 'file-video-o',
'file-word-o' = 'file-word-o',
'film' = 'film',
'filter' = 'filter',
'fire-extinguisher' = 'fire-extinguisher',
'firefox' = 'firefox',
'fire' = 'fire',
'first-order' = 'first-order',
'flag-checkered' = 'flag-checkered',
'flag-o' = 'flag-o',
'flag' = 'flag',
'flask' = 'flask',
'flickr' = 'flickr',
'floppy-o' = 'floppy-o',
'folder-open-o' = 'folder-open-o',
'folder-open' = 'folder-open',
'folder-o' = 'folder-o',
'folder' = 'folder',
'font-awesome' = 'font-awesome',
'fonticons' = 'fonticons',
'font' = 'font',
'fork-awesome' = 'fork-awesome',
'fort-awesome' = 'fort-awesome',
'forumbee' = 'forumbee',
'forward' = 'forward',
'foursquare' = 'foursquare',
'free-code-camp' = 'free-code-camp',
'freedombox' = 'freedombox',
'friendica' = 'friendica',
'frown-o' = 'frown-o',
'funkwhale' = 'funkwhale',
'futbol-o' = 'futbol-o',
'gamepad' = 'gamepad',
'gavel' = 'gavel',
'gbp' = 'gbp',
'genderless' = 'genderless',
'get-pocket' = 'get-pocket',
'gg-circle' = 'gg-circle',
'gg' = 'gg',
'gift' = 'gift',
'gimp' = 'gimp',
'gitea' = 'gitea',
'github-alt' = 'github-alt',
'github-square' = 'github-square',
'github' = 'github',
'gitlab' = 'gitlab',
'git-square' = 'git-square',
'git' = 'git',
'glass' = 'glass',
'glide-g' = 'glide-g',
'glide' = 'glide',
'globe-e' = 'globe-e',
'globe' = 'globe',
'globe-w' = 'globe-w',
'gnupg' = 'gnupg',
'gnu-social' = 'gnu-social',
'google-plus-official' = 'google-plus-official',
'google-plus-square' = 'google-plus-square',
'google-plus' = 'google-plus',
'google' = 'google',
'google-wallet' = 'google-wallet',
'graduation-cap' = 'graduation-cap',
'gratipay' = 'gratipay',
'grav' = 'grav',
'hackaday' = 'hackaday',
'hacker-news' = 'hacker-news',
'hackster' = 'hackster',
'hal' = 'hal',
'hand-lizard-o' = 'hand-lizard-o',
'hand-o-down' = 'hand-o-down',
'hand-o-left' = 'hand-o-left',
'hand-o-right' = 'hand-o-right',
'hand-o-up' = 'hand-o-up',
'hand-paper-o' = 'hand-paper-o',
'hand-peace-o' = 'hand-peace-o',
'hand-pointer-o' = 'hand-pointer-o',
'hand-rock-o' = 'hand-rock-o',
'hand-scissors-o' = 'hand-scissors-o',
'handshake-o' = 'handshake-o',
'hand-spock-o' = 'hand-spock-o',
'hashnode' = 'hashnode',
'hashtag' = 'hashtag',
'hdd-o' = 'hdd-o',
'header' = 'header',
'headphones' = 'headphones',
'heartbeat' = 'heartbeat',
'heart-o' = 'heart-o',
'heart' = 'heart',
'history' = 'history',
'home' = 'home',
'hospital-o' = 'hospital-o',
'hourglass-end' = 'hourglass-end',
'hourglass-half' = 'hourglass-half',
'hourglass-o' = 'hourglass-o',
'hourglass-start' = 'hourglass-start',
'hourglass' = 'hourglass',
'houzz' = 'houzz',
'h-square' = 'h-square',
'html5' = 'html5',
'hubzilla' = 'hubzilla',
'i-cursor' = 'i-cursor',
'id-badge' = 'id-badge',
'id-card-o' = 'id-card-o',
'id-card' = 'id-card',
'ils' = 'ils',
'imdb' = 'imdb',
'inbox' = 'inbox',
'indent' = 'indent',
'industry' = 'industry',
'info-circle' = 'info-circle',
'info' = 'info',
'inkscape' = 'inkscape',
'inr' = 'inr',
'instagram' = 'instagram',
'internet-explorer' = 'internet-explorer',
'ioxhost' = 'ioxhost',
'italic' = 'italic',
'jirafeau' = 'jirafeau',
'joomla' = 'joomla',
'joplin' = 'joplin',
'jpy' = 'jpy',
'jsfiddle' = 'jsfiddle',
'julia' = 'julia',
'jupyter' = 'jupyter',
'keybase' = 'keybase',
'keyboard-o' = 'keyboard-o',
'key-modern' = 'key-modern',
'key' = 'key',
'krw' = 'krw',
'language' = 'language',
'laptop' = 'laptop',
'laravel' = 'laravel',
'lastfm-square' = 'lastfm-square',
'lastfm' = 'lastfm',
'leaf' = 'leaf',
'leanpub' = 'leanpub',
'lemon-o' = 'lemon-o',
'level-down' = 'level-down',
'level-up' = 'level-up',
'liberapay-square' = 'liberapay-square',
'liberapay' = 'liberapay',
'life-ring' = 'life-ring',
'lightbulb-o' = 'lightbulb-o',
'line-chart' = 'line-chart',
'linkedin-square' = 'linkedin-square',
'linkedin' = 'linkedin',
'link' = 'link',
'linode' = 'linode',
'linux' = 'linux',
'list-alt' = 'list-alt',
'list-ol' = 'list-ol',
'list' = 'list',
'list-ul' = 'list-ul',
'location-arrow' = 'location-arrow',
'lock' = 'lock',
'long-arrow-down' = 'long-arrow-down',
'long-arrow-left' = 'long-arrow-left',
'long-arrow-right' = 'long-arrow-right',
'long-arrow-up' = 'long-arrow-up',
'low-vision' = 'low-vision',
'magic' = 'magic',
'magnet' = 'magnet',
'male' = 'male',
'map-marker' = 'map-marker',
'map-o' = 'map-o',
'map-pin' = 'map-pin',
'map-signs' = 'map-signs',
'map' = 'map',
'mars-double' = 'mars-double',
'mars-stroke-h' = 'mars-stroke-h',
'mars-stroke' = 'mars-stroke',
'mars-stroke-v' = 'mars-stroke-v',
'mars' = 'mars',
'mastodon-alt' = 'mastodon-alt',
'mastodon-square' = 'mastodon-square',
'mastodon' = 'mastodon',
'matrix-org' = 'matrix-org',
'maxcdn' = 'maxcdn',
'meanpath' = 'meanpath',
'medium-square' = 'medium-square',
'medium' = 'medium',
'medkit' = 'medkit',
'meetup' = 'meetup',
'meh-o' = 'meh-o',
'mercury' = 'mercury',
'microchip' = 'microchip',
'microphone-slash' = 'microphone-slash',
'microphone' = 'microphone',
'minus-circle' = 'minus-circle',
'minus-square-o' = 'minus-square-o',
'minus-square' = 'minus-square',
'minus' = 'minus',
'mixcloud' = 'mixcloud',
'mobile' = 'mobile',
'modx' = 'modx',
'money' = 'money',
'moon-o' = 'moon-o',
'moon' = 'moon',
'motorcycle' = 'motorcycle',
'mouse-pointer' = 'mouse-pointer',
'music' = 'music',
'neuter' = 'neuter',
'newspaper-o' = 'newspaper-o',
'nextcloud-square' = 'nextcloud-square',
'nextcloud' = 'nextcloud',
'nodejs' = 'nodejs',
'object-group' = 'object-group',
'object-ungroup' = 'object-ungroup',
'odnoklassniki-square' = 'odnoklassniki-square',
'odnoklassniki' = 'odnoklassniki',
'opencart' = 'opencart',
'open-collective' = 'open-collective',
'openid' = 'openid',
'opera' = 'opera',
'optin-monster' = 'optin-monster',
'orcid' = 'orcid',
'outdent' = 'outdent',
'pagelines' = 'pagelines',
'paint-brush' = 'paint-brush',
'paperclip' = 'paperclip',
'paper-plane-o' = 'paper-plane-o',
'paper-plane' = 'paper-plane',
'paragraph' = 'paragraph',
'patreon' = 'patreon',
'pause-circle-o' = 'pause-circle-o',
'pause-circle' = 'pause-circle',
'pause' = 'pause',
'paw' = 'paw',
'paypal' = 'paypal',
'peertube' = 'peertube',
'pencil-square-o' = 'pencil-square-o',
'pencil-square' = 'pencil-square',
'pencil' = 'pencil',
'percent' = 'percent',
'phone-square' = 'phone-square',
'phone' = 'phone',
'php' = 'php',
'picture-o' = 'picture-o',
'pie-chart' = 'pie-chart',
'pinterest-p' = 'pinterest-p',
'pinterest-square' = 'pinterest-square',
'pinterest' = 'pinterest',
'pixelfed' = 'pixelfed',
'plane' = 'plane',
'play-circle-o' = 'play-circle-o',
'play-circle' = 'play-circle',
'play' = 'play',
'pleroma' = 'pleroma',
'plug' = 'plug',
'plus-circle' = 'plus-circle',
'plus-square-o' = 'plus-square-o',
'plus-square' = 'plus-square',
'plus' = 'plus',
'podcast' = 'podcast',
'power-off' = 'power-off',
'print' = 'print',
'product-hunt' = 'product-hunt',
'puzzle-piece' = 'puzzle-piece',
'python' = 'python',
'qq' = 'qq',
'qrcode' = 'qrcode',
'question-circle-o' = 'question-circle-o',
'question-circle' = 'question-circle',
'question' = 'question',
'quora' = 'quora',
'quote-left' = 'quote-left',
'quote-right' = 'quote-right',
'random' = 'random',
'ravelry' = 'ravelry',
'react' = 'react',
'rebel' = 'rebel',
'recycle' = 'recycle',
'reddit-alien' = 'reddit-alien',
'reddit-square' = 'reddit-square',
'reddit' = 'reddit',
'refresh' = 'refresh',
'registered' = 'registered',
'renren' = 'renren',
'repeat' = 'repeat',
'reply-all' = 'reply-all',
'reply' = 'reply',
'researchgate' = 'researchgate',
'retweet' = 'retweet',
'road' = 'road',
'rocket' = 'rocket',
'rss-square' = 'rss-square',
'rss' = 'rss',
'rub' = 'rub',
'safari' = 'safari',
'scissors' = 'scissors',
'scribd' = 'scribd',
'scuttlebutt' = 'scuttlebutt',
'search-minus' = 'search-minus',
'search-plus' = 'search-plus',
'search' = 'search',
'sellsy' = 'sellsy',
'server' = 'server',
'shaarli-o' = 'shaarli-o',
'shaarli' = 'shaarli',
'share-alt-square' = 'share-alt-square',
'share-alt' = 'share-alt',
'share-square-o' = 'share-square-o',
'share-square' = 'share-square',
'share' = 'share',
'shield' = 'shield',
'ship' = 'ship',
'shirtsinbulk' = 'shirtsinbulk',
'shopping-bag' = 'shopping-bag',
'shopping-basket' = 'shopping-basket',
'shopping-cart' = 'shopping-cart',
'shower' = 'shower',
'signalapp' = 'signalapp',
'signal' = 'signal',
'sign-in' = 'sign-in',
'sign-language' = 'sign-language',
'sign-out' = 'sign-out',
'simplybuilt' = 'simplybuilt',
'sitemap' = 'sitemap',
'skyatlas' = 'skyatlas',
'skype' = 'skype',
'slack' = 'slack',
'sliders' = 'sliders',
'slideshare' = 'slideshare',
'smile-o' = 'smile-o',
'snapchat-ghost' = 'snapchat-ghost',
'snapchat-square' = 'snapchat-square',
'snapchat' = 'snapchat',
'snowdrift' = 'snowdrift',
'snowflake-o' = 'snowflake-o',
'social-home' = 'social-home',
'sort-alpha-asc' = 'sort-alpha-asc',
'sort-alpha-desc' = 'sort-alpha-desc',
'sort-amount-asc' = 'sort-amount-asc',
'sort-amount-desc' = 'sort-amount-desc',
'sort-asc' = 'sort-asc',
'sort-desc' = 'sort-desc',
'sort-numeric-asc' = 'sort-numeric-asc',
'sort-numeric-desc' = 'sort-numeric-desc',
'sort' = 'sort',
'soundcloud' = 'soundcloud',
'space-shuttle' = 'space-shuttle',
'spell-check' = 'spell-check',
'spinner' = 'spinner',
'spoon' = 'spoon',
'spotify' = 'spotify',
'square-o' = 'square-o',
'square' = 'square',
'stack-exchange' = 'stack-exchange',
'stack-overflow' = 'stack-overflow',
'star-half-o' = 'star-half-o',
'star-half' = 'star-half',
'star-o' = 'star-o',
'star' = 'star',
'steam-square' = 'steam-square',
'steam' = 'steam',
'step-backward' = 'step-backward',
'step-forward' = 'step-forward',
'stethoscope' = 'stethoscope',
'sticky-note-o' = 'sticky-note-o',
'sticky-note' = 'sticky-note',
'stop-circle-o' = 'stop-circle-o',
'stop-circle' = 'stop-circle',
'stop' = 'stop',
'street-view' = 'street-view',
'strikethrough' = 'strikethrough',
'stumbleupon-circle' = 'stumbleupon-circle',
'stumbleupon' = 'stumbleupon',
'subscript' = 'subscript',
'subway' = 'subway',
'suitcase' = 'suitcase',
'sun-o' = 'sun-o',
'sun' = 'sun',
'superpowers' = 'superpowers',
'superscript' = 'superscript',
'syncthing' = 'syncthing',
'table' = 'table',
'tablet' = 'tablet',
'tachometer' = 'tachometer',
'tags' = 'tags',
'tag' = 'tag',
'tasks' = 'tasks',
'taxi' = 'taxi',
'telegram' = 'telegram',
'television' = 'television',
'tencent-weibo' = 'tencent-weibo',
'terminal' = 'terminal',
'text-height' = 'text-height',
'text-width' = 'text-width',
'themeisle' = 'themeisle',
'thermometer-empty' = 'thermometer-empty',
'thermometer-full' = 'thermometer-full',
'thermometer-half' = 'thermometer-half',
'thermometer-quarter' = 'thermometer-quarter',
'thermometer-three-quarters' = 'thermometer-three-quarters',
'th-large' = 'th-large',
'th-list' = 'th-list',
'th' = 'th',
'thumbs-down' = 'thumbs-down',
'thumbs-o-down' = 'thumbs-o-down',
'thumbs-o-up' = 'thumbs-o-up',
'thumbs-up' = 'thumbs-up',
'thumb-tack' = 'thumb-tack',
'ticket' = 'ticket',
'times-circle-o' = 'times-circle-o',
'times-circle' = 'times-circle',
'times' = 'times',
'tint' = 'tint',
'tipeee' = 'tipeee',
'toggle-off' = 'toggle-off',
'toggle-on' = 'toggle-on',
'tor-onion' = 'tor-onion',
'trademark' = 'trademark',
'train' = 'train',
'transgender-alt' = 'transgender-alt',
'transgender' = 'transgender',
'trash-o' = 'trash-o',
'trash' = 'trash',
'tree' = 'tree',
'trello' = 'trello',
'tripadvisor' = 'tripadvisor',
'trophy' = 'trophy',
'truck' = 'truck',
'try' = 'try',
'tty' = 'tty',
'tumblr-square' = 'tumblr-square',
'tumblr' = 'tumblr',
'twitch' = 'twitch',
'twitter-square' = 'twitter-square',
'twitter' = 'twitter',
'umbrella' = 'umbrella',
'underline' = 'underline',
'undo' = 'undo',
'universal-access' = 'universal-access',
'university' = 'university',
'unlock-alt' = 'unlock-alt',
'unlock' = 'unlock',
'unslpash' = 'unslpash',
'upload' = 'upload',
'usb' = 'usb',
'usd' = 'usd',
'user-circle-o' = 'user-circle-o',
'user-circle' = 'user-circle',
'user-md' = 'user-md',
'user-o' = 'user-o',
'user-plus' = 'user-plus',
'user-secret' = 'user-secret',
'users' = 'users',
'user' = 'user',
'user-times' = 'user-times',
'venus-double' = 'venus-double',
'venus-mars' = 'venus-mars',
'venus' = 'venus',
'viacoin' = 'viacoin',
'viadeo-square' = 'viadeo-square',
'viadeo' = 'viadeo',
'video-camera' = 'video-camera',
'vimeo-square' = 'vimeo-square',
'vimeo' = 'vimeo',
'vine' = 'vine',
'vk' = 'vk',
'volume-control-phone' = 'volume-control-phone',
'volume-down' = 'volume-down',
'volume-mute' = 'volume-mute',
'volume-off' = 'volume-off',
'volume-up' = 'volume-up',
'weibo' = 'weibo',
'weixin' = 'weixin',
'whatsapp' = 'whatsapp',
'wheelchair-alt' = 'wheelchair-alt',
'wheelchair' = 'wheelchair',
'wifi' = 'wifi',
'wikidata' = 'wikidata',
'wikipedia-w' = 'wikipedia-w',
'window-close-o' = 'window-close-o',
'window-close' = 'window-close',
'window-maximize' = 'window-maximize',
'window-minimize' = 'window-minimize',
'window-restore' = 'window-restore',
'windows' = 'windows',
'wire' = 'wire',
'wordpress' = 'wordpress',
'wpbeginner' = 'wpbeginner',
'wpexplorer' = 'wpexplorer',
'wpforms' = 'wpforms',
'wrench' = 'wrench',
'xing-square' = 'xing-square',
'xing' = 'xing',
'xmpp' = 'xmpp',
'yahoo' = 'yahoo',
'y-combinator' = 'y-combinator',
'yelp' = 'yelp',
'yoast' = 'yoast',
'youtube-play' = 'youtube-play',
'youtube-square' = 'youtube-square',
'youtube' = 'youtube',
'zotero' = 'zotero'
}

View file

@ -5,7 +5,7 @@
*/
import emojiData from 'emoji-picker-element-data/en/emojibase/data.json'
import { ForkAwesomeIcons } from '../../../editor-page/editor-pane/tool-bar/emoji-picker/icon-names'
import { ForkAwesomeIcons } from '../../../common/fork-awesome/fork-awesome-icons'
interface EmojiEntry {
shortcodes: string[]
@ -29,10 +29,10 @@ const emojiSkinToneModifierMap = [1, 2, 3, 4, 5].reduce((reduceObject, modifierV
return reduceObject
}, {} as ShortCodeMap)
const forkAwesomeIconMap = Object.keys(ForkAwesomeIcons).reduce((reduceObject, icon) => {
const forkAwesomeIconMap = ForkAwesomeIcons.reduce((reduceObject, icon) => {
const shortcode = `fa-${icon}`
// noinspection CheckTagEmptyBody
reduceObject[shortcode] = `<i class="fa fa-${icon}"></i>`
reduceObject[shortcode] = `<i class='fa fa-${icon}'></i>`
return reduceObject
}, {} as ShortCodeMap)

View file

@ -7145,10 +7145,10 @@ forever-agent@~0.6.1:
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
fork-awesome@1.1.7:
version "1.1.7"
resolved "https://registry.yarnpkg.com/fork-awesome/-/fork-awesome-1.1.7.tgz#1427da1cac3d1713046ee88427e5fcecb9501d21"
integrity sha512-IHI7XCSXrKfUIWslse8c/PaaVDT1oBaYge+ju40ihL2ooiQeBpTr4wvIXhgTd2NuhntlvX+M5jYHAPTzNlmv0g==
fork-awesome@1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/fork-awesome/-/fork-awesome-1.2.0.tgz#acd43f1e1f54510fa45209c31385b4fde3a95003"
integrity sha512-MNwTBnnudMIweHfDtTY8TeR5fxIAZ2w9o8ITn5XDySqdxa4k5AH8IuAMa89RVxDxgPNlosZxqkFKN5UmHXuYSw==
fork-ts-checker-webpack-plugin@4.1.6:
version "4.1.6"