diff --git a/.svg-to-tsrc b/.svg-to-tsrc index 283011c..54f46aa 100644 --- a/.svg-to-tsrc +++ b/.svg-to-tsrc @@ -1,5 +1,4 @@ { - "conversionType": "constants", "srcFiles": ["./icons/**/*.svg"], "outputDirectory": "./src", "interfaceName": "IconDefinition", @@ -7,5 +6,6 @@ "prefix": "ai", "fileName": "Amaranth", "additionalModelFile": "./src", - "compileSources": true + "compileSources": true, + "completeIconSetName": "amaranthSet" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 8c25e39..b007b23 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.10.0-alpha.1", "license": "MIT", "devDependencies": { - "@types/react": "17.0.38", + "@types/react": "17.0.39", "autoprefixer": "10.4.2", "bundle-scss": "1.5.1", "clsx": "1.1.1", @@ -18,15 +18,15 @@ "node-sass": "7.0.1", "nodemon": "2.0.15", "npm-run-all": "4.1.5", - "postcss": "8.4.5", + "postcss": "8.4.6", "postcss-cli": "9.1.0", "react": "17.0.2", "react-dom": "17.0.2", "rimraf": "3.0.2", - "sass": "1.48.0", - "svg-to-ts": "7.1.0", + "sass": "1.49.8", + "svg-to-ts": "8.3.1", "svgo": "2.8.0", - "typescript": "4.5.4" + "typescript": "4.5.5" }, "peerDependencies": { "clsx": ">=1.x", @@ -274,9 +274,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "17.0.38", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.38.tgz", - "integrity": "sha512-SI92X1IA+FMnP3qM5m4QReluXzhcmovhZnLNm3pyeQlooi02qI7sLiepEYqT678uNiyc25XfCqxREFpy3W7YhQ==", + "version": "17.0.39", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.39.tgz", + "integrity": "sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -3646,9 +3646,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.1.30", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.30.tgz", - "integrity": "sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", "dev": true, "bin": { "nanoid": "bin/nanoid.cjs" @@ -4528,14 +4528,14 @@ } }, "node_modules/postcss": { - "version": "8.4.5", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz", - "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==", + "version": "8.4.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.6.tgz", + "integrity": "sha512-OovjwIzs9Te46vlEx7+uXB0PLijpwjXGKXjVGGPIGubGpq7uh5Xgf6D6FiJ/SzJMBosHDp6a2hiXOS97iBXcaA==", "dev": true, "dependencies": { - "nanoid": "^3.1.30", + "nanoid": "^3.2.0", "picocolors": "^1.0.0", - "source-map-js": "^1.0.1" + "source-map-js": "^1.0.2" }, "engines": { "node": "^10 || ^12 || >=14" @@ -5168,9 +5168,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.48.0.tgz", - "integrity": "sha512-hQi5g4DcfjcipotoHZ80l7GNJHGqQS5LwMBjVYB/TaT0vcSSpbgM8Ad7cgfsB2M0MinbkEQQPO9+sjjSiwxqmw==", + "version": "1.49.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.49.8.tgz", + "integrity": "sha512-NoGOjvDDOU9og9oAxhRnap71QaTjjlzrvLnKecUJ3GxhaQBrV6e7gPuSPF28u1OcVAArVojPAe4ZhOXwwC4tGw==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -5181,7 +5181,7 @@ "sass": "sass.js" }, "engines": { - "node": ">=8.9.0" + "node": ">=12.0.0" } }, "node_modules/sass-graph": { @@ -5416,9 +5416,9 @@ } }, "node_modules/source-map-js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.1.tgz", - "integrity": "sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", "dev": true, "engines": { "node": ">=0.10.0" @@ -5665,9 +5665,9 @@ } }, "node_modules/svg-to-ts": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/svg-to-ts/-/svg-to-ts-7.1.0.tgz", - "integrity": "sha512-i3TI3ND+F6ROjIwqe87dRyyfv7Pjb4r7Hiz5aLjCrHLJ/jopgN9yq/nKpBlFcWIR0QJgMQL6DyVlSBsepmuUXQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/svg-to-ts/-/svg-to-ts-8.3.1.tgz", + "integrity": "sha512-SIP/5Pwb3jOYnJZdTG1Aht3Um0jAOnxqpfXT99gxhk+50fitiaKIeXaOysjaQBio7B2IylL/eQwfqrWsUXxq4A==", "dev": true, "dependencies": { "chalk": "^3.0.0", @@ -5684,8 +5684,9 @@ "typescript": "^3.7.2" }, "bin": { - "svg-to-ts": "src/bin/svg-to-ts.js", - "svgtots": "src/bin/svg-to-ts.js" + "svg-to-ts-constants": "src/bin/svg-to-ts-constants.js", + "svg-to-ts-files": "src/bin/svg-to-ts-files.js", + "svg-to-ts-object": "src/bin/svg-to-ts-object.js" } }, "node_modules/svg-to-ts/node_modules/chalk": { @@ -6052,9 +6053,9 @@ } }, "node_modules/typescript": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", - "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -6683,9 +6684,9 @@ "dev": true }, "@types/react": { - "version": "17.0.38", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.38.tgz", - "integrity": "sha512-SI92X1IA+FMnP3qM5m4QReluXzhcmovhZnLNm3pyeQlooi02qI7sLiepEYqT678uNiyc25XfCqxREFpy3W7YhQ==", + "version": "17.0.39", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.39.tgz", + "integrity": "sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug==", "dev": true, "requires": { "@types/prop-types": "*", @@ -9289,9 +9290,9 @@ "dev": true }, "nanoid": { - "version": "3.1.30", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.30.tgz", - "integrity": "sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", "dev": true }, "neatequal": { @@ -9966,14 +9967,14 @@ "dev": true }, "postcss": { - "version": "8.4.5", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz", - "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==", + "version": "8.4.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.6.tgz", + "integrity": "sha512-OovjwIzs9Te46vlEx7+uXB0PLijpwjXGKXjVGGPIGubGpq7uh5Xgf6D6FiJ/SzJMBosHDp6a2hiXOS97iBXcaA==", "dev": true, "requires": { - "nanoid": "^3.1.30", + "nanoid": "^3.2.0", "picocolors": "^1.0.0", - "source-map-js": "^1.0.1" + "source-map-js": "^1.0.2" } }, "postcss-cli": { @@ -10419,9 +10420,9 @@ "dev": true }, "sass": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.48.0.tgz", - "integrity": "sha512-hQi5g4DcfjcipotoHZ80l7GNJHGqQS5LwMBjVYB/TaT0vcSSpbgM8Ad7cgfsB2M0MinbkEQQPO9+sjjSiwxqmw==", + "version": "1.49.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.49.8.tgz", + "integrity": "sha512-NoGOjvDDOU9og9oAxhRnap71QaTjjlzrvLnKecUJ3GxhaQBrV6e7gPuSPF28u1OcVAArVojPAe4ZhOXwwC4tGw==", "dev": true, "requires": { "chokidar": ">=3.0.0 <4.0.0", @@ -10615,9 +10616,9 @@ "dev": true }, "source-map-js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.1.tgz", - "integrity": "sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", "dev": true }, "spdx-correct": { @@ -10822,9 +10823,9 @@ "dev": true }, "svg-to-ts": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/svg-to-ts/-/svg-to-ts-7.1.0.tgz", - "integrity": "sha512-i3TI3ND+F6ROjIwqe87dRyyfv7Pjb4r7Hiz5aLjCrHLJ/jopgN9yq/nKpBlFcWIR0QJgMQL6DyVlSBsepmuUXQ==", + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/svg-to-ts/-/svg-to-ts-8.3.1.tgz", + "integrity": "sha512-SIP/5Pwb3jOYnJZdTG1Aht3Um0jAOnxqpfXT99gxhk+50fitiaKIeXaOysjaQBio7B2IylL/eQwfqrWsUXxq4A==", "dev": true, "requires": { "chalk": "^3.0.0", @@ -11138,9 +11139,9 @@ } }, "typescript": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", - "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "version": "4.5.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", + "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 8cad99a..0c1d3e4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "fonts:docs": "copyfiles -a \"dist/fonts/*.*\" \"docs/fonts\" -f", "icons": "npm run icons:clean && npm run icons:ts", "icons:clean": "svgo -f ./icons -o ./icons", - "icons:ts": "svg-to-ts", + "icons:ts": "svg-to-ts-constants", "test": "echo \"Error: no test specified\" && exit 1", "prepare": "npm run prod", "prod": "npm run clean && npm run icons && npm run fonts && npm run build && npm run scss", @@ -49,7 +49,7 @@ "clsx": ">=1.x" }, "devDependencies": { - "@types/react": "17.0.38", + "@types/react": "17.0.39", "autoprefixer": "10.4.2", "bundle-scss": "1.5.1", "clsx": "1.1.1", @@ -58,15 +58,15 @@ "node-sass": "7.0.1", "nodemon": "2.0.15", "npm-run-all": "4.1.5", - "postcss": "8.4.5", + "postcss": "8.4.6", "postcss-cli": "9.1.0", "react": "17.0.2", "react-dom": "17.0.2", "rimraf": "3.0.2", - "sass": "1.48.0", - "svg-to-ts": "7.1.0", + "sass": "1.49.8", + "svg-to-ts": "8.3.1", "svgo": "2.8.0", - "typescript": "4.5.4" + "typescript": "4.5.5" }, "browserslist": { "production": [ diff --git a/src/Amaranth.ts b/src/Amaranth.ts index 2d5fcff..6f48fb6 100644 --- a/src/Amaranth.ts +++ b/src/Amaranth.ts @@ -1,4 +1,4 @@ -/* 🤖 this file was generated by svg-to-ts*/ +/* 🤖 this file was generated by svg-to-ts */ export const aiAlarm: { name: 'alarm'; data: string; @@ -1255,3 +1255,161 @@ export interface IconDefinition { export type IconDefinitionNameSubset< T extends Readonly > = T[number]['name']; +export const amaranthSet = [ + aiAlarm, + aiAmaranth, + aiAngleDown, + aiAngleLeft, + aiAngleRight, + aiAngleUp, + aiAppleAppStore, + aiAppleSafari, + aiArrowDownToLine, + aiArrowDown, + aiArrowLeftFromBracket, + aiArrowLeftToBracket, + aiArrowLeftToLine, + aiArrowLeft, + aiArrowRightFromBracket, + aiArrowRightToBracket, + aiArrowRightToLine, + aiArrowRight, + aiArrowRotateRight, + aiArrowUpToLine, + aiArrowUp, + aiArrowsRotateRight, + aiBackward, + aiBarsStaggered, + aiBars, + aiBel, + aiBox, + aiBranchUp, + aiBranch, + aiBuilding, + aiCalendarAgenda, + aiCalendarDay, + aiCalendarHolidays, + aiCalendarMonth, + aiCalendarWeek, + aiCalendar, + aiChangewindows, + aiCheck, + aiChevronDown, + aiChevronLeft, + aiChevronRight, + aiChevronUp, + aiCircleCheck, + aiCircleExclamation, + aiCircleInfo, + aiCircleMin, + aiCirclePlus, + aiCircleUser, + aiCircleXMark, + aiCircle, + aiCity, + aiCli, + aiClockRotateLeft, + aiClock, + aiCloud, + aiCode, + aiCompress, + aiDashboard, + aiDesktop, + aiDevices, + aiDisc, + aiEllipsisV, + aiEllipsis, + aiEnvelope, + aiExpand, + aiEyeSlash, + aiEye, + aiFacebookMessenger, + aiFacebook, + aiFastBackward, + aiFastForward, + aiFile, + aiFiles, + aiFloppyDisc, + aiFoldable, + aiFolderImage, + aiFolder, + aiForward, + aiGamepad, + aiGauge, + aiGear, + aiGithub, + aiGoogleChrome, + aiGooglePlay, + aiHome, + aiHourglassEmpty, + aiHourglassEnd, + aiHourglassStart, + aiHourglass, + aiImage, + aiLaptop, + aiLinkedin, + aiLock, + aiMagnifyingGlass, + aiMessagePen, + aiMessageSmile, + aiMessageText, + aiMessage, + aiMicrochip, + aiMicrosoftEdge, + aiMin, + aiMozillaFirefox, + aiMusic, + aiNote, + aiNotes, + aiPaperPlane, + aiPatreon, + aiPause, + aiPen, + aiPhoneVolume, + aiPhone, + aiPlane, + aiPlayPause, + aiPlay, + aiPlus, + aiPower, + aiPuzzlePiece, + aiRepeatOne, + aiRepeat, + aiRocket, + aiServer, + aiShieldCheck, + aiShieldExclamation, + aiShieldInfo, + aiShieldKey, + aiShieldMin, + aiShieldPlus, + aiShieldUser, + aiShieldXMark, + aiShield, + aiShuffle, + aiSimCard, + aiSmartphone, + aiSoftwareBox, + aiSpinnerThird, + aiStop, + aiStopwatch, + aiStore, + aiSwatchbook, + aiTelevision, + aiTrashCan, + aiTwitter, + aiUnlock, + aiUserList, + aiUserLock, + aiUserPlus, + aiUser, + aiUsersList, + aiUsers, + aiVirtualReality, + aiVolume0, + aiVolume1, + aiVolume2, + aiVolumeXMark, + aiWindow, + aiXMark +];