Skip to content

Commit

Permalink
Merge branch 'main' into fix/use-css
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Liendo authored Nov 12, 2023
2 parents cd29d72 + bf5ec99 commit f26ca00
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 32 deletions.
104 changes: 75 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/kit": "^1.22.3",
"@sveltejs/kit": "^1.25.1",
"@sveltejs/package": "^2.2.1",
"@testing-library/svelte": "^4.0.3",
"rome": "12.1.3",
"jsdom": "^22.1.0",
"publint": "^0.2.0",
"publint": "^0.2.3",
"svelte": "^4.2.0",
"svelte-check": "^3.5.0",
"svelte-check": "^3.5.2",
"tslib": "^2.6.1",
"typescript": "^5.1.6",
"vite": "^4.4.9",
Expand Down
3 changes: 3 additions & 0 deletions src/lib/components/NotificationList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
let className = '';
export { className as class };
export let style: string = '';
export let position: Position = Position.TopRight;
// Use auto-subscriptions to avoid leaking memory on re-renders
Expand All @@ -48,6 +50,7 @@
<ul
class={` ${className} ${getPositionClasses(position)}`}
class:z-index={notificationsList?.length}
{style}
>
{#each notificationsList as notification}
<slot {notification} />
Expand Down

0 comments on commit f26ca00

Please sign in to comment.