From 12f2f5b08a33bcd03113cbabef5ccfe3f2034c2f Mon Sep 17 00:00:00 2001 From: PadowYT2 Date: Mon, 16 Sep 2024 17:46:52 +0300 Subject: [PATCH] update icons --- packages/react-icons/src/icons/index.ts | 39 +++++++++++++++++++++---- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/packages/react-icons/src/icons/index.ts b/packages/react-icons/src/icons/index.ts index 4e58aeee..a0db6a74 100644 --- a/packages/react-icons/src/icons/index.ts +++ b/packages/react-icons/src/icons/index.ts @@ -166,6 +166,18 @@ export const icons: IconDefinition[] = [ )}`, processWithSVGO: true, }, + { + files: path.resolve( + __dirname, + "../../icons/material-design-icons/src/*/*/materialiconsround/24px.svg", + ), + formatter: (name, file) => + `MdRound${camelcase( + file.replace(/^.*\/([^/]+)\/materialicons[^/]*\/24px.svg$/i, "$1"), + { pascalCase: true }, + )}`, + processWithSVGO: true, + }, ], projectUrl: "http://google.github.io/material-design-icons/", license: "Apache License Version 2.0", @@ -493,6 +505,13 @@ export const icons: IconDefinition[] = [ ), formatter: (name) => `HiMini${name}`, }, + { + files: path.resolve( + __dirname, + "../../icons/heroicons/optimized/16/solid/*.svg", + ), + formatter: (name) => `HiMicro${name}`, + }, ], projectUrl: "https://github.com/tailwindlabs/heroicons", license: "MIT", @@ -654,11 +673,21 @@ export const icons: IconDefinition[] = [ id: "tb", name: "Tabler Icons", contents: [ - { - files: path.resolve(__dirname, "../../icons/tabler-icons/icons/*.svg"), - formatter: (name) => `Tb${name}`, - }, - ], + { + files: path.resolve( + __dirname, + "../../icons/tabler-icons/icons/filled/*.svg", + ), + formatter: (name) => `Tb${name}`, + }, + { + files: path.resolve( + __dirname, + "../../icons/tabler-icons/icons/outline/*.svg", + ), + formatter: (name) => `TbOutline${name}`, + }, + ], projectUrl: "https://github.com/tabler/tabler-icons", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT",