Skip to content

Commit

Permalink
Merge pull request #24 from kampsy/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
kampsy authored Nov 17, 2024
2 parents 00c78d4 + 7f182d4 commit d00cf4a
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 47 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
2 changes: 1 addition & 1 deletion src/lib/collapse/trigger.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
};
</script>

<button {onclick} class="w-full flex items-center justify-between text-left {paddingClass} ">
<button {onclick} class="w-full flex items-center justify-between text-left bg-transparent {paddingClass} ">
{#if children}
<span class="{textClass} text-kui-light-gray-1000 dark:text-kui-dark-gray-1000 font-semibold"
>{@render children()}</span
Expand Down

0 comments on commit d00cf4a

Please sign in to comment.