diff --git a/package.json b/package.json index d8ba03c..904e82d 100644 --- a/package.json +++ b/package.json @@ -20,11 +20,6 @@ "types": "./dist/index.d.ts", "svelte": "./dist/index.js", "import": "./dist/index.js" - }, - "./icons": { - "types": "./dist/icons.d.ts", - "svelte": "./dist/icons.js", - "import": "./dist/icons.js" } }, "files": [ @@ -36,7 +31,6 @@ "svelte": "3 - 4" }, "devDependencies": { - "@fontsource/source-sans-pro": "^5.0.8", "@playwright/test": "^1.40.1", "@sveltejs/adapter-auto": "^3.0.1", "@sveltejs/kit": "^2.0.6", @@ -45,6 +39,7 @@ "@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/parser": "^6.16.0", "@waku-objects/luminance": "^2.0.1", + "carbon-icons-svelte": "^12.4.2", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.35.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fe9a3fb..1e5754d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,9 +5,6 @@ settings: excludeLinksFromLockfile: false devDependencies: - '@fontsource/source-sans-pro': - specifier: ^5.0.8 - version: 5.0.8 '@playwright/test': specifier: ^1.40.1 version: 1.40.1 @@ -32,6 +29,9 @@ devDependencies: '@waku-objects/luminance': specifier: ^2.0.1 version: 2.0.1 + carbon-icons-svelte: + specifier: ^12.4.2 + version: 12.4.2 eslint: specifier: ^8.56.0 version: 8.56.0 @@ -331,10 +331,6 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@fontsource/source-sans-pro@5.0.8: - resolution: {integrity: sha512-5U2UvIYRkCMozZ388gCE73PEpa2MFgN/0t9O4a1FF7bGT/MIneQWSL1XpWZ8iMVYdh6ntxRf3iFA6slCIuFgkg==} - dev: true - /@humanwhocodes/config-array@0.11.13: resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} engines: {node: '>=10.10.0'} @@ -940,6 +936,10 @@ packages: engines: {node: '>=6'} dev: true + /carbon-icons-svelte@12.4.2: + resolution: {integrity: sha512-NSGcRkbKkJvkfEatHlNh2Gn0pyBGlKkd828kH5HYMh+cwJQLtaAabCT+TcykL4DnSHUKJiXTw7H1CUN5tlNJKg==} + dev: true + /chai@4.3.10: resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} engines: {node: '>=4'} diff --git a/src/lib/icons.ts b/src/lib/icons.ts deleted file mode 100644 index f7bda69..0000000 --- a/src/lib/icons.ts +++ /dev/null @@ -1,50 +0,0 @@ -export { default as AddComment } from './icons/add-comment.svelte' -export { default as Add } from './icons/add.svelte' -export { default as ArrowDownRight } from './icons/arrow-down-right.svelte' -export { default as ArrowRight } from './icons/arrow-right.svelte' -export { default as Login } from './icons/login.svelte' -export { default as ChatBot } from './icons/chat-bot.svelte' -export { default as Light } from './icons/light.svelte' -export { default as Asleep } from './icons/asleep.svelte' -export { default as CopyLink } from './icons/copy-link.svelte' -export { default as ChevronUp } from './icons/chevron-up.svelte' -export { default as ArrowUpRight } from './icons/arrow-up-right.svelte' -export { default as ArrowUp } from './icons/arrow-up.svelte' -export { default as Receipt } from './icons/receipt.svelte' -export { default as Wallet } from './icons/wallet.svelte' -export { default as Close } from './icons/close.svelte' -export { default as User } from './icons/user.svelte' -export { default as Pending } from './icons/pending.svelte' -export { default as Logout } from './icons/logout.svelte' -export { default as CheckmarkFilled } from './icons/checkmark-filled.svelte' -export { default as CaretDown } from './icons/caret-down.svelte' -export { default as Events } from './icons/events.svelte' -export { default as QrCode } from './icons/qr-code.svelte' -export { default as PaintPalette } from './icons/paint-palette.svelte' -export { default as ChevronLeft } from './icons/chevron-left.svelte' -export { default as Checkmark } from './icons/checkmark.svelte' -export { default as Bullhorn } from './icons/bullhorn.svelte' -export { default as ChevronDown } from './icons/chevron-down.svelte' -export { default as TrashCan } from './icons/trash-can.svelte' -export { default as Settings } from './icons/settings.svelte' -export { default as Edit } from './icons/edit.svelte' -export { default as Camera } from './icons/camera.svelte' -export { default as WarningAltFilled } from './icons/warning-alt-filled.svelte' -export { default as Renew } from './icons/renew.svelte' -export { default as ArrowsVertical } from './icons/arrows-vertical.svelte' -export { default as ChevronRight } from './icons/chevron-right.svelte' -export { default as DataViewAlt } from './icons/data-view-alt.svelte' -export { default as SettingsAdjust } from './icons/settings-adjust.svelte' -export { default as Copy } from './icons/copy.svelte' -export { default as SettingsView } from './icons/settings-view.svelte' -export { default as ChatLaunch } from './icons/chat-launch.svelte' -export { default as ShowDataCards } from './icons/show-data-cards.svelte' -export { default as UserFollow } from './icons/user-follow.svelte' -export { default as Launch } from './icons/launch.svelte' -export { default as DocumentSigned } from './icons/document-signed.svelte' -export { default as DataBlob } from './icons/data-blob.svelte' -export { default as Search } from './icons/search.svelte' -export { default as Explore } from './icons/explore.svelte' -export { default as Home } from './icons/home.svelte' -export { default as Information } from './icons/information.svelte' -export { default as IBMWatsonxAssistant } from './icons/ibm-watsonx-assistant.svelte' diff --git a/src/lib/icons/add-comment.svelte b/src/lib/icons/add-comment.svelte deleted file mode 100644 index cea37eb..0000000 --- a/src/lib/icons/add-comment.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/add.svelte b/src/lib/icons/add.svelte deleted file mode 100644 index acb66c7..0000000 --- a/src/lib/icons/add.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/arrow-down-right.svelte b/src/lib/icons/arrow-down-right.svelte deleted file mode 100644 index a3b79f9..0000000 --- a/src/lib/icons/arrow-down-right.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/arrow-right.svelte b/src/lib/icons/arrow-right.svelte deleted file mode 100644 index 28bf196..0000000 --- a/src/lib/icons/arrow-right.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/arrow-up-right.svelte b/src/lib/icons/arrow-up-right.svelte deleted file mode 100644 index a1936fb..0000000 --- a/src/lib/icons/arrow-up-right.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/arrow-up.svelte b/src/lib/icons/arrow-up.svelte deleted file mode 100644 index b16c0fa..0000000 --- a/src/lib/icons/arrow-up.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/arrows-vertical.svelte b/src/lib/icons/arrows-vertical.svelte deleted file mode 100644 index c30e4ae..0000000 --- a/src/lib/icons/arrows-vertical.svelte +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/lib/icons/asleep.svelte b/src/lib/icons/asleep.svelte deleted file mode 100644 index 0fe227b..0000000 --- a/src/lib/icons/asleep.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/bullhorn.svelte b/src/lib/icons/bullhorn.svelte deleted file mode 100644 index 3038005..0000000 --- a/src/lib/icons/bullhorn.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/lib/icons/calibrate.svelte b/src/lib/icons/calibrate.svelte deleted file mode 100644 index 14fcdc0..0000000 --- a/src/lib/icons/calibrate.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/camera.svelte b/src/lib/icons/camera.svelte deleted file mode 100644 index f119b3d..0000000 --- a/src/lib/icons/camera.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/lib/icons/caret-down.svelte b/src/lib/icons/caret-down.svelte deleted file mode 100644 index 3c9e482..0000000 --- a/src/lib/icons/caret-down.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/chat-bot.svelte b/src/lib/icons/chat-bot.svelte deleted file mode 100644 index 1df18ba..0000000 --- a/src/lib/icons/chat-bot.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/src/lib/icons/chat-launch.svelte b/src/lib/icons/chat-launch.svelte deleted file mode 100644 index 4bf879a..0000000 --- a/src/lib/icons/chat-launch.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/checkmark-filled.svelte b/src/lib/icons/checkmark-filled.svelte deleted file mode 100644 index 94fb041..0000000 --- a/src/lib/icons/checkmark-filled.svelte +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/src/lib/icons/checkmark.svelte b/src/lib/icons/checkmark.svelte deleted file mode 100644 index 3829ae4..0000000 --- a/src/lib/icons/checkmark.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/chevron-down.svelte b/src/lib/icons/chevron-down.svelte deleted file mode 100644 index 267ff54..0000000 --- a/src/lib/icons/chevron-down.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/chevron-left.svelte b/src/lib/icons/chevron-left.svelte deleted file mode 100644 index 86c9224..0000000 --- a/src/lib/icons/chevron-left.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/chevron-right.svelte b/src/lib/icons/chevron-right.svelte deleted file mode 100644 index 7f68669..0000000 --- a/src/lib/icons/chevron-right.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/chevron-up.svelte b/src/lib/icons/chevron-up.svelte deleted file mode 100644 index 1cbcfb8..0000000 --- a/src/lib/icons/chevron-up.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/close.svelte b/src/lib/icons/close.svelte deleted file mode 100644 index d3e0f3b..0000000 --- a/src/lib/icons/close.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/copy-link.svelte b/src/lib/icons/copy-link.svelte deleted file mode 100644 index 554cb7d..0000000 --- a/src/lib/icons/copy-link.svelte +++ /dev/null @@ -1,19 +0,0 @@ - - - diff --git a/src/lib/icons/copy.svelte b/src/lib/icons/copy.svelte deleted file mode 100644 index 5d530c0..0000000 --- a/src/lib/icons/copy.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/lib/icons/data-blob.svelte b/src/lib/icons/data-blob.svelte deleted file mode 100644 index b379e51..0000000 --- a/src/lib/icons/data-blob.svelte +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/src/lib/icons/data-view-alt.svelte b/src/lib/icons/data-view-alt.svelte deleted file mode 100644 index acd944f..0000000 --- a/src/lib/icons/data-view-alt.svelte +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/src/lib/icons/document-signed.svelte b/src/lib/icons/document-signed.svelte deleted file mode 100644 index 5cc5a4c..0000000 --- a/src/lib/icons/document-signed.svelte +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/src/lib/icons/edit.svelte b/src/lib/icons/edit.svelte deleted file mode 100644 index 89701b3..0000000 --- a/src/lib/icons/edit.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/events.svelte b/src/lib/icons/events.svelte deleted file mode 100644 index b56fedc..0000000 --- a/src/lib/icons/events.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/explore.svelte b/src/lib/icons/explore.svelte deleted file mode 100644 index 6637011..0000000 --- a/src/lib/icons/explore.svelte +++ /dev/null @@ -1,16 +0,0 @@ - - - diff --git a/src/lib/icons/home.svelte b/src/lib/icons/home.svelte deleted file mode 100644 index c205093..0000000 --- a/src/lib/icons/home.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/ibm-watsonx-assistant.svelte b/src/lib/icons/ibm-watsonx-assistant.svelte deleted file mode 100644 index 8b7991e..0000000 --- a/src/lib/icons/ibm-watsonx-assistant.svelte +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/src/lib/icons/information.svelte b/src/lib/icons/information.svelte deleted file mode 100644 index bafc00b..0000000 --- a/src/lib/icons/information.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/src/lib/icons/launch.svelte b/src/lib/icons/launch.svelte deleted file mode 100644 index c07a991..0000000 --- a/src/lib/icons/launch.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/light.svelte b/src/lib/icons/light.svelte deleted file mode 100644 index 97aa46a..0000000 --- a/src/lib/icons/light.svelte +++ /dev/null @@ -1,43 +0,0 @@ - - - diff --git a/src/lib/icons/login.svelte b/src/lib/icons/login.svelte deleted file mode 100644 index 92e9aa3..0000000 --- a/src/lib/icons/login.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/logo-discord.svelte b/src/lib/icons/logo-discord.svelte deleted file mode 100644 index beff67b..0000000 --- a/src/lib/icons/logo-discord.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/logo-github.svelte b/src/lib/icons/logo-github.svelte deleted file mode 100644 index 4ddc56f..0000000 --- a/src/lib/icons/logo-github.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/lib/icons/logout.svelte b/src/lib/icons/logout.svelte deleted file mode 100644 index e15993c..0000000 --- a/src/lib/icons/logout.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/src/lib/icons/menu.svelte b/src/lib/icons/menu.svelte deleted file mode 100644 index e442779..0000000 --- a/src/lib/icons/menu.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/paint-palette.svelte b/src/lib/icons/paint-palette.svelte deleted file mode 100644 index 346292c..0000000 --- a/src/lib/icons/paint-palette.svelte +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/src/lib/icons/pending.svelte b/src/lib/icons/pending.svelte deleted file mode 100644 index 6919b6c..0000000 --- a/src/lib/icons/pending.svelte +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/src/lib/icons/qr-code.svelte b/src/lib/icons/qr-code.svelte deleted file mode 100644 index afcca37..0000000 --- a/src/lib/icons/qr-code.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/src/lib/icons/receipt.svelte b/src/lib/icons/receipt.svelte deleted file mode 100644 index c527713..0000000 --- a/src/lib/icons/receipt.svelte +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/src/lib/icons/renew.svelte b/src/lib/icons/renew.svelte deleted file mode 100644 index e84846b..0000000 --- a/src/lib/icons/renew.svelte +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/lib/icons/search.svelte b/src/lib/icons/search.svelte deleted file mode 100644 index 3e18886..0000000 --- a/src/lib/icons/search.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/settings-adjust.svelte b/src/lib/icons/settings-adjust.svelte deleted file mode 100644 index c450b40..0000000 --- a/src/lib/icons/settings-adjust.svelte +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/src/lib/icons/settings-view.svelte b/src/lib/icons/settings-view.svelte deleted file mode 100644 index 640c096..0000000 --- a/src/lib/icons/settings-view.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/src/lib/icons/settings.svelte b/src/lib/icons/settings.svelte deleted file mode 100644 index 9b6795e..0000000 --- a/src/lib/icons/settings.svelte +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/src/lib/icons/show-data-cards.svelte b/src/lib/icons/show-data-cards.svelte deleted file mode 100644 index 6084e55..0000000 --- a/src/lib/icons/show-data-cards.svelte +++ /dev/null @@ -1,19 +0,0 @@ - - - diff --git a/src/lib/icons/side-panel-close.svelte b/src/lib/icons/side-panel-close.svelte deleted file mode 100644 index 5492333..0000000 --- a/src/lib/icons/side-panel-close.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/subtract.svelte b/src/lib/icons/subtract.svelte deleted file mode 100644 index edbaa10..0000000 --- a/src/lib/icons/subtract.svelte +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/src/lib/icons/trash-can.svelte b/src/lib/icons/trash-can.svelte deleted file mode 100644 index b1b5db1..0000000 --- a/src/lib/icons/trash-can.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/user-follow.svelte b/src/lib/icons/user-follow.svelte deleted file mode 100644 index 9452317..0000000 --- a/src/lib/icons/user-follow.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/src/lib/icons/user.svelte b/src/lib/icons/user.svelte deleted file mode 100644 index 59dfef3..0000000 --- a/src/lib/icons/user.svelte +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/lib/icons/wallet.svelte b/src/lib/icons/wallet.svelte deleted file mode 100644 index 9946ba9..0000000 --- a/src/lib/icons/wallet.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/lib/icons/warning-alt-filled.svelte b/src/lib/icons/warning-alt-filled.svelte deleted file mode 100644 index 5093a3d..0000000 --- a/src/lib/icons/warning-alt-filled.svelte +++ /dev/null @@ -1,19 +0,0 @@ - - - diff --git a/src/lib/icons/zoom-in.svelte b/src/lib/icons/zoom-in.svelte deleted file mode 100644 index 911a7c7..0000000 --- a/src/lib/icons/zoom-in.svelte +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 223f387..0d0b98a 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -10,6 +10,7 @@ DropdownItem, type DarkModeOption, type ThemeStore, + Checkbox, } from '$lib' import { Asleep, @@ -19,50 +20,7 @@ ChevronRight, Close, Light, - Add, - AddComment, - ArrowDownRight, - ArrowRight, - ArrowUp, - ArrowUpRight, - ArrowsVertical, - Bullhorn, - Camera, - ChatBot, - ChatLaunch, - ChevronDown, - ChevronLeft, - ChevronUp, - Copy, - CopyLink, - DataBlob, - DataViewAlt, - DocumentSigned, - Edit, - Events, - Explore, - Home, - IBMWatsonxAssistant, - Information, - Launch, - Login, - Logout, - PaintPalette, - Pending, - QrCode, - Receipt, - Renew, - Search, - Settings, - SettingsAdjust, - SettingsView, - ShowDataCards, - TrashCan, - User, - UserFollow, - Wallet, - WarningAltFilled, - } from '$lib/icons' + } from 'carbon-icons-svelte' import InputPalette from './components/input-palette.svelte' let darkMode: DarkModeOption = 'light' @@ -228,6 +186,7 @@