@x33025/sveltely 0.1.3 → 0.1.4

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.
@@ -25,7 +25,7 @@
25
25
 
26
26
  <button
27
27
  type="button"
28
- class="dropdown-item inline-flex items-center justify-between text-left"
28
+ class="dropdown-item inline-flex items-center text-left"
29
29
  data-popover-radius-source
30
30
  disabled={resolvedDisabled}
31
31
  aria-pressed={selected}
@@ -41,7 +41,7 @@
41
41
  })}
42
42
  {/if}
43
43
  {#if resolvedShowCheck && selected}
44
- <CheckIcon class="size-4 text-[var(--sveltely-primary-color)]" />
44
+ <CheckIcon class="dropdown-item-check size-4 text-[var(--sveltely-primary-color)]" />
45
45
  {/if}
46
46
  </button>
47
47
 
@@ -65,4 +65,9 @@
65
65
  cursor: not-allowed;
66
66
  opacity: 0.5;
67
67
  }
68
+
69
+ :global(.dropdown-item-check) {
70
+ margin-left: auto;
71
+ flex-shrink: 0;
72
+ }
68
73
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x33025/sveltely",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",