{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Notice component",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->\n<!--\n  A short confirmation toast: fixed bottom right, read out by screen readers through role status. Empty text\n  renders nothing visible.\n-->\n<script lang=\"ts\" module>\n  import type { Snippet } from \"svelte\";\n\n  export type NoticeProps = {\n    text: string;\n  };\n</script>\n\n<script lang=\"ts\">\n  import Box from \"../compose/Box.svelte\";\n  import LucideIcon from \"../icons/LucideIcon.svelte\";\n  import Text from \"../compose/Text.svelte\";\n\n  let { text }: NoticeProps = $props();\n</script>\n\n<Box class=\"contents\" role=\"status\" data-slot=\"notice\">\n  {#if text}\n    <Text\n      class={\"fixed right-4 bottom-4 z-40 m-0 flex items-center gap-2 rounded bg-foreground p-4 text-xs font-bold \" +\n        \"text-background shadow-lg\"}\n    >\n      <LucideIcon name=\"circle-check\" size={16} />\n      {text}\n    </Text>\n  {/if}\n</Box>\n",
      "path": "components/notice.svelte",
      "target": "components/notice.svelte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "svelte",
      "component"
    ]
  },
  "name": "notice",
  "registryDependencies": [
    "box",
    "lucide-icon",
    "text",
    "utils"
  ],
  "runtime": "svelte",
  "title": "Notice",
  "type": "registry:component"
}
