feat: add show mask chip for tools

This commit is contained in:
2026-10-09 14:09:51 +05:00
parent a51e224d02
commit c22c6e5574
22 changed files with 521 additions and 30 deletions
@@ -15,6 +15,7 @@
dims?: string;
note?: string;
noteTone?: "warning" | "info";
actions?: Snippet;
}
let {
label,
@@ -26,6 +27,7 @@
dims = undefined,
note = undefined,
noteTone = "warning",
actions = undefined,
}: Props = $props();
</script>
@@ -44,6 +46,9 @@
{/if}
</span>
<span class="tile-note">
{#if actions}
{@render actions()}
{/if}
{#if note}
<Badge tone={noteTone} label={note} />
{/if}