poe-svelte-ui-lib 1.5.4 → 1.5.6

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.
package/dist/Modal.svelte CHANGED
@@ -8,6 +8,7 @@
8
8
  isOpen = $bindable(false),
9
9
  title,
10
10
  wrapperClass = '',
11
+ mainClass = '',
11
12
  main,
12
13
  footer,
13
14
  onCancel = () => (isOpen = false),
@@ -15,6 +16,7 @@
15
16
  isOpen?: boolean
16
17
  title?: string
17
18
  wrapperClass?: string
19
+ mainClass?: string
18
20
  main: Snippet
19
21
  footer?: Snippet
20
22
  onCancel?: () => void
@@ -44,7 +46,7 @@
44
46
  <button class="h-6 w-6 cursor-pointer" onclick={onCancel}> <CrossIcon /> </button>
45
47
  </div>
46
48
 
47
- <div class="flex h-full w-full flex-col overflow-auto p-2">
49
+ <div class={twMerge('flex h-full w-full flex-col overflow-auto p-2', mainClass)}>
48
50
  {@render main?.()}
49
51
  </div>
50
52
  {#if footer}
@@ -3,6 +3,7 @@ type $$ComponentProps = {
3
3
  isOpen?: boolean;
4
4
  title?: string;
5
5
  wrapperClass?: string;
6
+ mainClass?: string;
6
7
  main: Snippet;
7
8
  footer?: Snippet;
8
9
  onCancel?: () => void;
@@ -188,7 +188,7 @@
188
188
 
189
189
  {#if isDropdownOpen}
190
190
  <div
191
- class="absolute top-full left-1/2 z-50 -translate-x-1/2 rounded-b-2xl border border-t-0 border-(--bg-color)"
191
+ class="absolute top-full left-1/2 z-50 -translate-x-1/2 rounded-b-2xl border border-t-0 border-(--bg-color) shadow-[0_0_3px_rgb(0_0_0_/0.25)]"
192
192
  style="width: calc(100% - 1.8rem);"
193
193
  transition:slide={{ duration: 250 }}
194
194
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-svelte-ui-lib",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -44,12 +44,12 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@sveltejs/adapter-static": "^3.0.10",
47
- "@sveltejs/kit": "^2.49.1",
47
+ "@sveltejs/kit": "^2.49.2",
48
48
  "@sveltejs/package": "^2.5.7",
49
49
  "@sveltejs/vite-plugin-svelte": "^6.2.1",
50
- "@types/node": "^24.10.1",
50
+ "@types/node": "^24.10.2",
51
51
  "publint": "^0.3.15",
52
- "svelte": "^5.45.6",
52
+ "svelte": "^5.45.8",
53
53
  "svelte-preprocess": "^6.0.3",
54
54
  "vite": "^7.2.7",
55
55
  "vite-plugin-compression": "^0.5.1"