Skip to content

Commit

Permalink
chore: 📝 update dep
Browse files Browse the repository at this point in the history
  • Loading branch information
kampsy committed Nov 17, 2024
1 parent 460e2a0 commit 7f182d4
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"prettier-plugin-svelte": "^3.2.8",
"publint": "^0.1.16",
"semantic-release": "^24.2.0",
"svelte": "^5.2.1",
"svelte-check": "^4.0.8",
"svelte": "^5.2.2",
"svelte-check": "^4.0.9",
"tailwindcss": "^3.4.15",
"tslib": "^2.8.1",
"typescript": "^5.6.3",
Expand Down
84 changes: 42 additions & 42 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions src/lib/avatar/avatar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
let { size = 32, placeholder = false }: propsT = $props();
let widthHeight = $derived.by(() => {
let widthAndHeight = $derived.by(() => {
return ` width: ${size}px; height: ${size}px;`;
});
</script>

{#snippet isPlaceholder()}
<div
aria-label="Avatar placeholder"
style={widthHeight}
style={widthAndHeight}
class="flex items-center justify-center rounded-full overflow-hidden text-[10px] font-semibold border dark:text-kui-dark-gray-1000 border-kui-light-gray-200 dark:border-kui-dark-gray-400"
></div>
{/snippet}
Expand Down

0 comments on commit 7f182d4

Please sign in to comment.