From 995665bf4fd1dac9dcca35a50a7d8a106a627dbe Mon Sep 17 00:00:00 2001 From: axel7083 <42176370+axel7083@users.noreply.github.com> Date: Thu, 6 Jun 2024 13:48:22 +0200 Subject: [PATCH] feat: adding @podman-desktop/ui-svelte (#510) * feat: adding @podman-desktop/ui-svelte Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> * fix: @podman-desktop/ui-svelte integration Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> --------- Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> --- packages/frontend/package.json | 1 + packages/frontend/tailwind.config.cjs | 1 + yarn.lock | 46 ++++++++++----------------- 3 files changed, 19 insertions(+), 29 deletions(-) diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 9cc19fe20..5f47078d2 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -12,6 +12,7 @@ "watch": "vite --mode development build -w" }, "dependencies": { + "@podman-desktop/ui-svelte": "1.10.3", "tinro": "^0.6.12" }, "devDependencies": { diff --git a/packages/frontend/tailwind.config.cjs b/packages/frontend/tailwind.config.cjs index 5486f5e60..de634967a 100644 --- a/packages/frontend/tailwind.config.cjs +++ b/packages/frontend/tailwind.config.cjs @@ -23,6 +23,7 @@ module.exports = { content: [ 'index.html', 'src/**/*.{svelte,ts,css}', + '../../node_modules/@podman-desktop/ui-svelte/src/**/*.{svelte,ts,css}', ], darkMode: 'class', theme: { diff --git a/yarn.lock b/yarn.lock index 2fbaa5e48..0343a93ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -401,6 +401,19 @@ resolved "https://registry.yarnpkg.com/@podman-desktop/tests-playwright/-/tests-playwright-1.10.3.tgz#e0e7068b604cd45b537c53a1bce67c8f716ac7fe" integrity sha512-pYB9uniwAUNzCPtVqXvejuI1m7GJRjhSAZq4NFW99nm5X2e17c2h0n4wvJDsDHCMs3sKN15ftdKRxdgi13r0mQ== +"@podman-desktop/ui-svelte@1.10.3": + version "1.10.3" + resolved "https://registry.yarnpkg.com/@podman-desktop/ui-svelte/-/ui-svelte-1.10.3.tgz#f92b05758ac4d0408cdde48d9d01f41c433b1330" + integrity sha512-Tf7XrUTvZdER/xqR0pYAxVWI7IfJfUV39D87nmTJxlfo/SllVhqp6YA5z2p/uqTCStbirBNsn/j0tOs/n5Uu2Q== + dependencies: + "@fortawesome/fontawesome-free" "^6.5.2" + "@fortawesome/free-brands-svg-icons" "^6.5.2" + "@fortawesome/free-regular-svg-icons" "^6.5.2" + "@fortawesome/free-solid-svg-icons" "^6.5.2" + humanize-duration "^3.32.0" + moment "^2.30.1" + svelte-fa "^4.0.2" + "@rollup/rollup-android-arm-eabi@4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.13.0.tgz#b98786c1304b4ff8db3a873180b778649b5dff2b" @@ -2599,7 +2612,7 @@ human-signals@^5.0.0: resolved "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz" integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== -humanize-duration@^3.32.1: +humanize-duration@^3.32.0, humanize-duration@^3.32.1: version "3.32.1" resolved "https://registry.yarnpkg.com/humanize-duration/-/humanize-duration-3.32.1.tgz#922beff5da36fb1cee3de26ada24c592b0fe519b" integrity sha512-inh5wue5XdfObhu/IGEMiA1nUXigSGcaKNemcbLRKa7jXYGDZXr3LoT9pTIzq2hPEbld7w/qv9h+ikWGz8fL1g== @@ -4279,16 +4292,7 @@ stop-iteration-iterator@^1.0.0: dependencies: internal-slot "^1.0.4" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -4340,14 +4344,7 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -4972,16 +4969,7 @@ winreg@^1.2.5: resolved "https://registry.yarnpkg.com/winreg/-/winreg-1.2.5.tgz#b650383e89278952494b5d113ba049a5a4fa96d8" integrity sha512-uf7tHf+tw0B1y+x+mKTLHkykBgK2KMs3g+KlzmyMbLvICSHQyB/xOFjTT8qZ3oeTFyU7Bbj4FzXitGG6jvKhYw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==