From 5dde46405810b12f60e374639ffe459bbc52de78 Mon Sep 17 00:00:00 2001 From: omar Date: Thu, 12 Sep 2024 20:30:36 -0700 Subject: [PATCH] feat: switch to unplugin incons --- pnpm-lock.yaml | 174 ++++++++++++++++-- web/package.json | 3 +- web/src/components/dialog/PickerDialog.svelte | 4 +- web/src/components/dialog/PickerItem.svelte | 6 +- web/src/components/dialog/SavingDialog.svelte | 6 +- .../components/dialog/SavingTutorial.svelte | 6 +- web/src/components/dialog/SmallDialog.svelte | 2 +- .../components/donate/DonateAltItem.svelte | 2 +- web/src/components/donate/DonateBanner.svelte | 2 +- .../donate/DonateOptionsCard.svelte | 30 +-- .../components/donate/DonateShareCard.svelte | 8 +- web/src/components/misc/CopyIcon.svelte | 6 +- web/src/components/misc/FileReceiver.svelte | 4 +- .../components/misc/UpdateNotification.svelte | 2 +- web/src/components/save/Omnibox.svelte | 4 +- .../components/save/SupportedServices.svelte | 2 +- .../save/buttons/ClearButton.svelte | 2 +- .../settings/CustomInstanceInput.svelte | 4 +- .../settings/FilenamePreview.svelte | 4 +- .../settings/LanguageDropdown.svelte | 2 +- .../components/settings/ManageSettings.svelte | 6 +- .../settings/ResetSettingsButton.svelte | 2 +- web/src/components/sidebar/Sidebar.svelte | 16 +- web/src/components/subnav/PageNav.svelte | 2 +- web/src/components/subnav/PageNavTab.svelte | 2 +- web/src/routes/about/+layout.svelte | 10 +- web/src/routes/donate/+page.svelte | 2 +- web/src/routes/settings/+layout.svelte | 18 +- web/src/routes/updates/+page.svelte | 4 +- web/tsconfig.json | 2 +- web/vite.config.ts | 3 + 31 files changed, 239 insertions(+), 101 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d316277..3f7f28e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -97,9 +97,6 @@ importers: '@imput/version-info': specifier: workspace:^ version: link:../packages/version-info - '@tabler/icons-svelte': - specifier: 3.6.0 - version: 3.6.0(svelte@4.2.18) '@vitejs/plugin-basic-ssl': specifier: ^1.1.0 version: 1.1.0(vite@5.3.5(@types/node@20.14.14)) @@ -119,6 +116,9 @@ importers: '@fontsource/redaction-10': specifier: ^5.0.2 version: 5.0.2 + '@iconify-json/tabler': + specifier: ^1.2.2 + version: 1.2.2 '@sveltejs/adapter-static': specifier: ^3.0.2 version: 3.0.2(@sveltejs/kit@2.5.19(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14)))(svelte@4.2.18)(vite@5.3.5(@types/node@20.14.14))) @@ -170,6 +170,9 @@ importers: typescript-eslint: specifier: ^7.13.1 version: 7.18.0(eslint@8.57.0)(typescript@5.5.4) + unplugin-icons: + specifier: ^0.19.3 + version: 0.19.3 vite: specifier: ^5.0.3 version: 5.3.5(@types/node@20.14.14) @@ -180,6 +183,12 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} + '@antfu/install-pkg@0.4.1': + resolution: {integrity: sha512-T7yB5QNG29afhWVkVq7XeIMBa5U/vs9mX69YqayXypPRmYzUmzwnYltplHmPtZ4HPCn+sQKeXW8I47wCbuBOjw==} + + '@antfu/utils@0.7.10': + resolution: {integrity: sha512-+562v9k4aI80m1+VuMHehNJWLOFjBnXn3tdOitzD0il5b7smkSBal4+a3oKiQTbrwMmN/TBUMDvbdoWDehgOww==} + '@derhuerst/http-basic@8.2.4': resolution: {integrity: sha512-F9rL9k9Xjf5blCz8HsJRO4diy111cayL2vkY2XE4r4t3n0yPXVYy3KD3nJ1qbrSn9743UWSXH4IwuCa/HWlGFw==} engines: {node: '>=6.0.0'} @@ -520,6 +529,15 @@ packages: resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} deprecated: Use @eslint/object-schema instead + '@iconify-json/tabler@1.2.2': + resolution: {integrity: sha512-sdHGvNKWm4TofzGm/rP5UythJBp82DqTOfjSlCLUTnuwCuRSJia5vfoIx2aEVRKq8jINj/V80c+A2k7jAW8Hlg==} + + '@iconify/types@2.0.0': + resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} + + '@iconify/utils@2.1.32': + resolution: {integrity: sha512-LeifFZPPKu28O3AEDpYJNdEbvS4/ojAPyIW+pF/vUpJTYnbTiXUHkCh0bwgFRzKvdpb8H4Fbfd/742++MF4fPQ==} + '@imput/libav.js-remux-cli@5.5.6': resolution: {integrity: sha512-XdAab90EZKf6ULtD/x9Y2bnlmNJodXSO6w8aWrn97+N2IRuOS8zv3tAFPRC69SWKa8Utjeu5YTYuTolnX3QprQ==} @@ -681,14 +699,6 @@ packages: '@sveltekit-i18n/parser-default@1.1.1': resolution: {integrity: sha512-/gtzLlqm/sox7EoPKD56BxGZktK/syGc79EbJAPWY5KVitQD9SM0TP8yJCqDxTVPk7Lk0WJhrBGUE2Nn0f5M1w==} - '@tabler/icons-svelte@3.6.0': - resolution: {integrity: sha512-phI61t81MlWhodATjvQQdqw8vTL0srSW6GsHzJmuhIMJGB4rwFzAXB2Ec4Pkz0vWFzVQgkeSE/AsiOLIUKWkxA==} - peerDependencies: - svelte: '>=3 <5' - - '@tabler/icons@3.6.0': - resolution: {integrity: sha512-Zv0Ofc64RCMpZ2F8CvsWAphrSjerx5hEErt/RMmE+W8r4E5l5Lizi+My9KbbZQ4NyAtrtrOX80OY1oROZrRzEA==} - '@types/cookie@0.6.0': resolution: {integrity: sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==} @@ -936,6 +946,9 @@ packages: resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} engines: {'0': node >= 6.0} + confbox@0.1.7: + resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} + consola@3.2.3: resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} engines: {node: ^14.18.0 || >=16.10.0} @@ -1510,6 +1523,9 @@ packages: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} + kolorist@1.8.0: + resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} + levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -1525,6 +1541,10 @@ packages: resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} + engines: {node: '>=14'} + locate-character@3.0.0: resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==} @@ -1618,6 +1638,9 @@ packages: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true + mlly@1.7.1: + resolution: {integrity: sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA==} + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -1701,6 +1724,9 @@ packages: package-json-from-dist@1.0.0: resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} + package-manager-detector@0.2.0: + resolution: {integrity: sha512-E385OSk9qDcXhcM9LNSe4sdhx8a9mAPrZ4sMLW+tmxl5ZuGtPUcdFu+MPP2jbgiWAZ6Pfe5soGFMd+0Db5Vrog==} + parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} @@ -1735,6 +1761,9 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + pathe@1.1.2: + resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} + periscopic@3.1.0: resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} @@ -1749,6 +1778,9 @@ packages: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} + pkg-types@1.2.0: + resolution: {integrity: sha512-+ifYuSSqOQ8CqP4MbZA5hDpb97n3E8SVWdJe+Wms9kj745lmd3b7EZJiqvmLwAlmRfjrI7Hi5z3kdBJ93lFNPA==} + postcss-load-config@6.0.1: resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} engines: {node: '>= 18'} @@ -2085,6 +2117,9 @@ packages: tiny-glob@0.2.9: resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} + tinyexec@0.3.0: + resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} + to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} @@ -2172,6 +2207,9 @@ packages: engines: {node: '>=14.17'} hasBin: true + ufo@1.5.4: + resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} + undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} @@ -2186,6 +2224,35 @@ packages: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} + unplugin-icons@0.19.3: + resolution: {integrity: sha512-EUegRmsAI6+rrYr0vXjFlIP+lg4fSC4zb62zAZKx8FGXlWAGgEGBCa3JDe27aRAXhistObLPbBPhwa/0jYLFkQ==} + peerDependencies: + '@svgr/core': '>=7.0.0' + '@svgx/core': ^1.0.1 + '@vue/compiler-sfc': ^3.0.2 || ^2.7.0 + vue-template-compiler: ^2.6.12 + vue-template-es2015-compiler: ^1.9.0 + peerDependenciesMeta: + '@svgr/core': + optional: true + '@svgx/core': + optional: true + '@vue/compiler-sfc': + optional: true + vue-template-compiler: + optional: true + vue-template-es2015-compiler: + optional: true + + unplugin@1.14.1: + resolution: {integrity: sha512-lBlHbfSFPToDYp9pjXlUEFVxYLaue9f9T1HC+4OHlmj+HnMDdz9oZY+erXfoCe/5V/7gKUSY2jpXPb9S7f0f/w==} + engines: {node: '>=14.0.0'} + peerDependencies: + webpack-sources: ^3 + peerDependenciesMeta: + webpack-sources: + optional: true + uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} @@ -2246,6 +2313,9 @@ packages: webidl-conversions@4.0.2: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + webpack-virtual-modules@0.6.2: + resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} + whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} @@ -2286,6 +2356,13 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 + '@antfu/install-pkg@0.4.1': + dependencies: + package-manager-detector: 0.2.0 + tinyexec: 0.3.0 + + '@antfu/utils@0.7.10': {} + '@derhuerst/http-basic@8.2.4': dependencies: caseless: 0.12.0 @@ -2482,6 +2559,24 @@ snapshots: '@humanwhocodes/object-schema@2.0.3': {} + '@iconify-json/tabler@1.2.2': + dependencies: + '@iconify/types': 2.0.0 + + '@iconify/types@2.0.0': {} + + '@iconify/utils@2.1.32': + dependencies: + '@antfu/install-pkg': 0.4.1 + '@antfu/utils': 0.7.10 + '@iconify/types': 2.0.0 + debug: 4.3.6 + kolorist: 1.8.0 + local-pkg: 0.5.0 + mlly: 1.7.1 + transitivePeerDependencies: + - supports-color + '@imput/libav.js-remux-cli@5.5.6': {} '@isaacs/cliui@8.0.2': @@ -2626,13 +2721,6 @@ snapshots: '@sveltekit-i18n/parser-default@1.1.1': {} - '@tabler/icons-svelte@3.6.0(svelte@4.2.18)': - dependencies: - '@tabler/icons': 3.6.0 - svelte: 4.2.18 - - '@tabler/icons@3.6.0': {} - '@types/cookie@0.6.0': {} '@types/eslint@9.6.0': @@ -2907,6 +2995,8 @@ snapshots: readable-stream: 3.6.2 typedarray: 0.0.6 + confbox@0.1.7: {} + consola@3.2.3: {} content-disposition-header@0.6.0: {} @@ -3523,6 +3613,8 @@ snapshots: kleur@4.1.5: {} + kolorist@1.8.0: {} + levn@0.4.1: dependencies: prelude-ls: 1.2.1 @@ -3534,6 +3626,11 @@ snapshots: load-tsconfig@0.2.5: {} + local-pkg@0.5.0: + dependencies: + mlly: 1.7.1 + pkg-types: 1.2.0 + locate-character@3.0.0: {} locate-path@6.0.0: @@ -3605,6 +3702,13 @@ snapshots: dependencies: minimist: 1.2.8 + mlly@1.7.1: + dependencies: + acorn: 8.12.1 + pathe: 1.1.2 + pkg-types: 1.2.0 + ufo: 1.5.4 + mri@1.2.0: {} mrmime@2.0.0: {} @@ -3674,6 +3778,8 @@ snapshots: package-json-from-dist@1.0.0: {} + package-manager-detector@0.2.0: {} + parent-module@1.0.1: dependencies: callsites: 3.1.0 @@ -3697,6 +3803,8 @@ snapshots: path-type@4.0.0: {} + pathe@1.1.2: {} + periscopic@3.1.0: dependencies: '@types/estree': 1.0.5 @@ -3709,6 +3817,12 @@ snapshots: pirates@4.0.6: {} + pkg-types@1.2.0: + dependencies: + confbox: 0.1.7 + mlly: 1.7.1 + pathe: 1.1.2 + postcss-load-config@6.0.1(postcss@8.4.40): dependencies: lilconfig: 3.1.2 @@ -4032,6 +4146,8 @@ snapshots: globalyzer: 0.1.0 globrex: 0.1.2 + tinyexec@0.3.0: {} + to-regex-range@5.0.1: dependencies: is-number: 7.0.0 @@ -4111,6 +4227,8 @@ snapshots: typescript@5.5.4: {} + ufo@1.5.4: {} + undici-types@5.26.5: {} undici@5.28.4: @@ -4123,6 +4241,24 @@ snapshots: unpipe@1.0.0: {} + unplugin-icons@0.19.3: + dependencies: + '@antfu/install-pkg': 0.4.1 + '@antfu/utils': 0.7.10 + '@iconify/utils': 2.1.32 + debug: 4.3.6 + kolorist: 1.8.0 + local-pkg: 0.5.0 + unplugin: 1.14.1 + transitivePeerDependencies: + - supports-color + - webpack-sources + + unplugin@1.14.1: + dependencies: + acorn: 8.12.1 + webpack-virtual-modules: 0.6.2 + uri-js@4.4.1: dependencies: punycode: 2.3.1 @@ -4155,6 +4291,8 @@ snapshots: webidl-conversions@4.0.2: {} + webpack-virtual-modules@0.6.2: {} + whatwg-url@7.1.0: dependencies: lodash.sortby: 4.7.0 diff --git a/web/package.json b/web/package.json index 67c779bc..367e858a 100644 --- a/web/package.json +++ b/web/package.json @@ -26,6 +26,7 @@ "devDependencies": { "@eslint/js": "^9.5.0", "@fontsource/redaction-10": "^5.0.2", + "@iconify-json/tabler": "^1.2.2", "@sveltejs/adapter-static": "^3.0.2", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", @@ -43,6 +44,7 @@ "turnstile-types": "^1.2.2", "typescript": "^5.4.5", "typescript-eslint": "^7.13.1", + "unplugin-icons": "^0.19.3", "vite": "^5.0.3" }, "dependencies": { @@ -50,7 +52,6 @@ "@fontsource/ibm-plex-mono": "^5.0.13", "@imput/libav.js-remux-cli": "^5.5.6", "@imput/version-info": "workspace:^", - "@tabler/icons-svelte": "3.6.0", "@vitejs/plugin-basic-ssl": "^1.1.0", "mime": "^4.0.4", "sveltekit-i18n": "^2.4.2", diff --git a/web/src/components/dialog/PickerDialog.svelte b/web/src/components/dialog/PickerDialog.svelte index 1fa5f5f5..66287709 100644 --- a/web/src/components/dialog/PickerDialog.svelte +++ b/web/src/components/dialog/PickerDialog.svelte @@ -10,8 +10,8 @@ import PickerItem from "$components/dialog/PickerItem.svelte"; import DialogButtons from "$components/dialog/DialogButtons.svelte"; - - import IconBoxMultiple from "@tabler/icons-svelte/IconBoxMultiple.svelte"; + + import IconBoxMultiple from 'virtual:icons/tabler/box-multiple'; export let id: string; export let items: Optional = undefined; diff --git a/web/src/components/dialog/PickerItem.svelte b/web/src/components/dialog/PickerItem.svelte index 7edf8c68..578c6a34 100644 --- a/web/src/components/dialog/PickerItem.svelte +++ b/web/src/components/dialog/PickerItem.svelte @@ -6,9 +6,9 @@ import Skeleton from "$components/misc/Skeleton.svelte"; - import IconMovie from "@tabler/icons-svelte/IconMovie.svelte"; - import IconPhoto from "@tabler/icons-svelte/IconPhoto.svelte"; - import IconGif from "@tabler/icons-svelte/IconGif.svelte"; + import IconMovie from "virtual:icons/tabler/movie"; + import IconPhoto from "virtual:icons/tabler/photo"; + import IconGif from "virtual:icons/tabler/gif"; export let item: DialogPickerItem; export let number: number; diff --git a/web/src/components/dialog/SavingDialog.svelte b/web/src/components/dialog/SavingDialog.svelte index f71e2b9f..f2ce4efc 100644 --- a/web/src/components/dialog/SavingDialog.svelte +++ b/web/src/components/dialog/SavingDialog.svelte @@ -17,9 +17,9 @@ import SavingTutorial from "$components/dialog/SavingTutorial.svelte"; import VerticalActionButton from "$components/buttons/VerticalActionButton.svelte"; - import IconShare2 from "@tabler/icons-svelte/IconShare2.svelte"; - import IconDownload from "@tabler/icons-svelte/IconDownload.svelte"; - import IconFileDownload from "@tabler/icons-svelte/IconFileDownload.svelte"; + import IconShare2 from "virtual:icons/tabler/share-2"; + import IconDownload from "virtual:icons/tabler/download"; + import IconFileDownload from "virtual:icons/tabler/file-download"; import CopyIcon from "$components/misc/CopyIcon.svelte"; export let id: string; diff --git a/web/src/components/dialog/SavingTutorial.svelte b/web/src/components/dialog/SavingTutorial.svelte index c0ce2983..8d043465 100644 --- a/web/src/components/dialog/SavingTutorial.svelte +++ b/web/src/components/dialog/SavingTutorial.svelte @@ -2,9 +2,9 @@ import { siriShortcuts } from "$lib/env"; import { t } from "$lib/i18n/translations"; - import IconPlus from "@tabler/icons-svelte/IconPlus.svelte"; - import IconFlower from "@tabler/icons-svelte/IconFlower.svelte"; - import IconFolder from "@tabler/icons-svelte/IconFolder.svelte"; + import IconPlus from "virtual:icons/tabler/plus"; + import IconFlower from "virtual:icons/tabler/flower"; + import IconFolder from "virtual:icons/tabler/folder"; let tutorialExpanded = false; diff --git a/web/src/components/dialog/SmallDialog.svelte b/web/src/components/dialog/SmallDialog.svelte index f76c91e1..72775ca1 100644 --- a/web/src/components/dialog/SmallDialog.svelte +++ b/web/src/components/dialog/SmallDialog.svelte @@ -8,7 +8,7 @@ import Meowbalt from "$components/misc/Meowbalt.svelte"; import DialogButtons from "$components/dialog/DialogButtons.svelte"; - import IconAlertTriangle from "@tabler/icons-svelte/IconAlertTriangle.svelte"; + import IconAlertTriangle from "virtual:icons/tabler/alert-triangle"; export let id: string; export let meowbalt: Optional = undefined; diff --git a/web/src/components/donate/DonateAltItem.svelte b/web/src/components/donate/DonateAltItem.svelte index 0bc45789..ae67ac4c 100644 --- a/web/src/components/donate/DonateAltItem.svelte +++ b/web/src/components/donate/DonateAltItem.svelte @@ -3,7 +3,7 @@ import { copyURL, openURL } from "$lib/download"; import CopyIcon from "$components/misc/CopyIcon.svelte"; - import IconExternalLink from "@tabler/icons-svelte/IconExternalLink.svelte"; + import IconExternalLink from "virtual:icons/tabler/external-link"; export let type: "copy" | "open"; export let name: string; diff --git a/web/src/components/donate/DonateBanner.svelte b/web/src/components/donate/DonateBanner.svelte index b9b4a956..197da3b2 100644 --- a/web/src/components/donate/DonateBanner.svelte +++ b/web/src/components/donate/DonateBanner.svelte @@ -6,7 +6,7 @@ import Imput from "$components/icons/Imput.svelte"; import Meowbalt from "$components/misc/Meowbalt.svelte"; - import IconHeart from "@tabler/icons-svelte/IconHeart.svelte"; + import IconHeart from "virtual:icons/tabler/heart";