poe-svelte-ui-lib 1.5.4 → 1.5.5
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 +3 -1
- package/dist/Modal.svelte.d.ts +1 -0
- package/package.json +4 -4
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=
|
|
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}
|
package/dist/Modal.svelte.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "poe-svelte-ui-lib",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
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.
|
|
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.
|
|
50
|
+
"@types/node": "^24.10.2",
|
|
51
51
|
"publint": "^0.3.15",
|
|
52
|
-
"svelte": "^5.45.
|
|
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"
|