@podman-desktop/ui-svelte 1.25.0-next.202512191136-d5c9f4f → 1.25.0-next.202512220617-dc04b4b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,6 @@ import type { IconDefinition } from '@fortawesome/free-regular-svg-icons';
3
3
  import type { Component } from 'svelte';
4
4
 
5
5
  import Icon from '../icons/Icon.svelte';
6
- import { isFontAwesomeIcon } from '../utils/icon-utils';
7
6
 
8
7
  interface Props {
9
8
  title: string;
@@ -39,7 +38,7 @@ function click(): void {
39
38
  <div
40
39
  class="flex w-full pr-1 py-2 justify-between items-center cursor-pointer border-l-[4px]"
41
40
  class:pl-3={!child}
42
- class:pl-6={child}
41
+ class:pl-[34px]={child}
43
42
  class:leading-none={child}
44
43
  class:text-md={!child}
45
44
  class:font-medium={!child}
@@ -52,16 +51,12 @@ function click(): void {
52
51
  class:hover:bg-[var(--pd-secondary-nav-text-hover-bg)]={!selected}
53
52
  class:hover:border-[var(--pd-secondary-nav-text-hover-bg)]={!selected}>
54
53
  <span
55
- class="group-hover:block flex gap-x-4 items-center"
54
+ class="group-hover:block flex gap-x-2 items-center"
56
55
  class:flex-row={iconPosition === 'left'}
57
56
  class:flex-row-reverse={iconPosition === 'right'}
58
57
  class:capitalize={!child}>
59
58
  {#if icon}
60
- {#if isFontAwesomeIcon(icon)}
61
59
  <Icon icon={icon}/>
62
- {:else}
63
- <Icon icon={icon} size=14/>
64
- {/if}
65
60
  {/if}
66
61
  <span>{title}</span>
67
62
  </span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podman-desktop/ui-svelte",
3
- "version": "1.25.0-next.202512191136-d5c9f4f",
3
+ "version": "1.25.0-next.202512220617-dc04b4b",
4
4
  "type": "module",
5
5
  "repository": "https://github.com/podman-desktop/podman-desktop",
6
6
  "license": "Apache-2.0",
@@ -156,7 +156,7 @@
156
156
  "@tailwindcss/vite": "^4.1.18",
157
157
  "@testing-library/dom": "^10.4.1",
158
158
  "@testing-library/jest-dom": "^6.9.1",
159
- "@testing-library/svelte": "^5.2.9",
159
+ "@testing-library/svelte": "^5.2.10",
160
160
  "@testing-library/user-event": "^14.6.1",
161
161
  "@tsconfig/svelte": "^5.0.6",
162
162
  "@typescript-eslint/eslint-plugin": "^8.50.0",