feat(Search): Add icon for the Hack language (#63233)

Fixes GRAPH-620

Adds the icon for the Hack language to the Svelte UI
This commit is contained in:
Matthew Manela 2024-06-13 07:24:46 -04:00 committed by GitHub
parent f72d838b4b
commit a3a6545612
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 19 additions and 3 deletions

View File

@ -1,10 +1,10 @@
load("@aspect_bazel_lib//lib:copy_to_directory.bzl", "copy_to_directory")
load("@aspect_rules_js//js:defs.bzl", "js_run_binary")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@npm//client/web-sveltekit:@playwright/test/package_json.bzl", playwright_test_bin = "bin")
load("@npm//client/web-sveltekit:vitest/package_json.bzl", vitest_bin = "bin")
load("@npm//client/web-sveltekit:svelte-check/package_json.bzl", svelte_check = "bin")
load("@npm//client/web-sveltekit:@sveltejs/kit/package_json.bzl", sveltekit = "bin")
load("@aspect_rules_js//js:defs.bzl", "js_run_binary")
load("@npm//client/web-sveltekit:svelte-check/package_json.bzl", svelte_check = "bin")
load("@npm//client/web-sveltekit:vitest/package_json.bzl", vitest_bin = "bin")
load("//dev:defs.bzl", "ts_binary", "vitest_test")
load("//dev:write_generated_to_source_files.bzl", "write_generated_to_source_files")
load(":utils.bzl", "compile_app")
@ -83,6 +83,7 @@ BUILD_DEPS = [
":node_modules/@graphql-codegen/typescript-operations",
":node_modules/@graphql-tools/utils",
":node_modules/@iconify-json/devicon-plain",
":node_modules/@iconify-json/file-icons",
":node_modules/@iconify-json/lucide",
":node_modules/@iconify-json/ph",
":node_modules/@iconify-json/simple-icons",

View File

@ -32,6 +32,7 @@
"@graphql-tools/utils": "^10.0.11",
"@graphql-typed-document-node/core": "^3.2.0",
"@iconify-json/devicon-plain": "^1.1.42",
"@iconify-json/file-icons": "^1.1.8",
"@iconify-json/lucide": "^1.1.188",
"@iconify-json/ph": "^1.1.13",
"@iconify-json/simple-icons": "^1.1.104",

View File

@ -6,6 +6,7 @@
export {}
declare global {
const IDeviconPlainJava: typeof import('~icons/devicon-plain/java')['default']
const IFileIconsHack: typeof import('~icons/file-icons/hack')['default']
const ILucideArrowDownFromLine: typeof import('~icons/lucide/arrow-down-from-line')['default']
const ILucideArrowLeftFromLine: typeof import('~icons/lucide/arrow-left-from-line')['default']
const ILucideArrowRightFromLine: typeof import('~icons/lucide/arrow-right-from-line')['default']

View File

@ -53,6 +53,7 @@ export const FILE_ICONS_BY_LANGUAGE: Map<string, LanguageIcon> = new Map([
['Go Checksums', { icon: ISimpleIconsGo, color: PINK }],
['Groovy', { icon: ISimpleIconsApachegroovy, color: BLUE }],
['GraphQL', { icon: ISimpleIconsGraphql, color: PINK }],
['Hack', { icon: IFileIconsHack, color: YELLOW }],
['Haskell', { icon: ISimpleIconsHaskell, color: BLUE }],
['HTML', { icon: ISimpleIconsHtml5, color: BLUE }],
['HTML+ECR', { icon: ISimpleIconsCrystal, color: BLUE }],

View File

@ -1642,6 +1642,9 @@ importers:
'@iconify-json/devicon-plain':
specifier: ^1.1.42
version: 1.1.42
'@iconify-json/file-icons':
specifier: ^1.1.8
version: 1.1.8
'@iconify-json/lucide':
specifier: ^1.1.188
version: 1.1.188
@ -5468,6 +5471,7 @@ packages:
/@humanwhocodes/config-array@0.11.14:
resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}
engines: {node: '>=10.10.0'}
deprecated: Use @eslint/config-array instead
dependencies:
'@humanwhocodes/object-schema': 2.0.2
debug: 4.3.4
@ -5492,6 +5496,7 @@ packages:
/@humanwhocodes/object-schema@2.0.2:
resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==}
deprecated: Use @eslint/object-schema instead
/@ianvs/prettier-plugin-sort-imports@3.7.1(prettier@2.8.1):
resolution: {integrity: sha512-XDnBUUruJY9KgNd7T2ZHnVPWo5B9NzVDCLEMm7HjXTA3rTtMg5Q46gYRjLvampDXSmN8+icu54aRE3IIT8U+1w==}
@ -5523,6 +5528,12 @@ packages:
'@iconify/types': 2.0.0
dev: true
/@iconify-json/file-icons@1.1.8:
resolution: {integrity: sha512-gzkxwnzEN0FVJZQIM/X7aqlN98z/XQ8ymb/BC1ebr3lJHvmQ5n8gMhWeytnJHHwRERg/zokTXSQDt62ANwcs/w==}
dependencies:
'@iconify/types': 2.0.0
dev: true
/@iconify-json/lucide@1.1.188:
resolution: {integrity: sha512-yJNoU7vX11OvdeSKBiAvmbk/etAq2HPCZQkZX1U687NZhn8dTfx1PfyNhPxtJilrd288XGDKK+NQgygcZ+Ho4g==}
dependencies:
@ -13236,6 +13247,7 @@ packages:
/acorn-import-assertions@1.9.0(acorn@8.11.3):
resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==}
requiresBuild: true
peerDependencies:
acorn: ^8
dependencies: