Skip to content

Commit 1ec64c5

Browse files
authored
Merge pull request #76 from feloy/chore/ui-svelte-1-18
chore: bump ui-svelte to 1.18
2 parents e7a1f49 + d9cc8b9 commit 1ec64c5

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

packages/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@fortawesome/free-brands-svg-icons": "^6.6.0",
2525
"@fortawesome/free-regular-svg-icons": "^6.6.0",
2626
"@fortawesome/free-solid-svg-icons": "^6.6.0",
27-
"@podman-desktop/ui-svelte": "1.17.2",
27+
"@podman-desktop/ui-svelte": "1.18.0",
2828
"@sveltejs/vite-plugin-svelte": "5.0.3",
2929
"@tailwindcss/typography": "^0.5.14",
3030
"@testing-library/dom": "^10.4.0",

packages/frontend/src/lib/create/CreateService.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ function addScript(type: 'sql' | 'sh') {
125125
breadcrumbTitle="Go back to Services"
126126
onclose={goToUpPage}
127127
onbreadcrumbClick={goToUpPage}>
128-
<svelte:fragment slot="icon">
128+
{#snippet icon()}
129129
<i class="fas fa-cube fa-2x" aria-hidden="true"></i>
130-
</svelte:fragment>
131-
<svelte:fragment slot="content">
130+
{/snippet}
131+
{#snippet content()}
132132
<div class="p-5 min-w-full h-full flex flex-col">
133133
{#if error}
134134
<div class="m-4 text-red-600">{error}</div>
@@ -306,6 +306,6 @@ function addScript(type: 'sql' | 'sh') {
306306
</div>
307307
</div>
308308
</div>
309-
</svelte:fragment>
309+
{/snippet}
310310
</FormPage>
311311
</Route>

packages/frontend/src/lib/details/ServiceDetails.svelte

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,18 @@ onMount(async () => {
3434
breadcrumbTitle="Go back to Services"
3535
onclose={goToUpPage}
3636
onbreadcrumbClick={goToUpPage}>
37-
<svelte:fragment slot="subtitle">
37+
{#snippet subtitleSnippet()}
3838
<div class="flex gap-x-2 items-center text-[var(--pd-content-sub-header)]">
3939
<span class="text-xs">{service?.name}</span>
4040
</div>
41-
</svelte:fragment>
42-
<svelte:fragment slot="tabs">
41+
{/snippet}
42+
{#snippet tabsSnippet()}
4343
<Tab title="Summary" selected={isTabSelected($router.path, 'summary')} url={`${containerId}/summary`} />
44-
</svelte:fragment>
45-
<svelte:fragment slot="content">
46-
<Route path="/summary" breadcrumb="Summary"><Summary service={service} /></Route>
47-
</svelte:fragment>
44+
{/snippet}
45+
{#snippet contentSnippet()}
46+
{#if service}
47+
<Route path="/summary" breadcrumb="Summary"><Summary service={service} /></Route>
48+
{/if}
49+
{/snippet}
4850
</DetailsPage>
4951
{/if}

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)