{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A consent notice with accept and decline buttons.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/cookie-banner.json\n    A consent notice: an icon, a heading, one paragraph and the buttons accept, decline and (optionally) settings. Axes: layout (bar, card), actions (two, three), tone (default, muted).\n    Props (p): id, title, text, accept, decline, settings, layout, actions, tone, landmarkLabel. *}\n{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_text = ($p['text'] ?? null)}\n{var $v_accept = ($p['accept'] ?? null)}\n{var $v_decline = ($p['decline'] ?? null)}\n{var $v_settings = ($p['settings'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'bar')}\n{var $v_actions = ($p['actions'] ?? 'two')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_11}\n  {capture $c_10}\n    {capture $c_9}\n      {capture $c_4}\n        {=og_include('icons/LucideIcon.latte', ['name' => 'cookie', 'size' => 24])|noescape}\n        {capture $c_3}\n          {capture $c_1}\n            {=og_text($v_title)}\n          {/capture}\n          {=og_include('compose/Title.latte', ['as' => 2, 'size' => 'base', 'weight' => 'bold', 'attrs' => og_attrs(['id', og_tpl('{0}-title', [$v_id])]), 'children' => (string) $c_1])|noescape}\n          {capture $c_2}\n            {=og_text($v_text)}\n          {/capture}\n          {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n        {/capture}\n        {=og_include('compose/Stack.latte', ['gap' => '2', 'children' => (string) $c_3])|noescape}\n      {/capture}\n      {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'start', 'class' => 'min-w-0', 'children' => (string) $c_4])|noescape}\n      {capture $c_8}\n        {if og_t(og_and([og_eq($v_actions, 'three'), $v_settings]))}\n          {capture $c_5}\n            {=og_text($v_settings)}\n          {/capture}\n          {=og_include('compose/Button.latte', ['variant' => 'ghost', 'size' => 'sm', 'type' => 'button', 'children' => (string) $c_5])|noescape}\n        {/if}\n        {capture $c_6}\n          {=og_text($v_decline)}\n        {/capture}\n        {=og_include('compose/Button.latte', ['variant' => 'outline', 'size' => 'sm', 'type' => 'button', 'children' => (string) $c_6])|noescape}\n        {capture $c_7}\n          {=og_text($v_accept)}\n        {/capture}\n        {=og_include('compose/Button.latte', ['variant' => 'default', 'size' => 'sm', 'type' => 'button', 'children' => (string) $c_7])|noescape}\n      {/capture}\n      {=og_include('compose/Group.latte', ['gap' => '2', 'class' => 'shrink-0 flex-wrap', 'children' => (string) $c_8])|noescape}\n    {/capture}\n    {=og_include('compose/Box.latte', ['class' => og_s(og_cnv(['flex flex-col gap-4 rounded p-6 inset-ring inset-ring-border', (og_t(og_eq($v_tone, 'muted')) ? 'bg-muted' : 'bg-card'), (og_t(og_eq($v_layout, 'bar')) ? 'md:flex-row md:items-center md:justify-between' : 'mx-auto w-full max-w-md')])), 'children' => (string) $c_9])|noescape}\n  {/capture}\n  {=og_include('compose/Container.latte', ['class' => og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', 'py-4'])), 'attrs' => og_attrs(['data-slot', 'container']), 'children' => (string) $c_10])|noescape}\n{/capture}\n{=og_include('compose/Block.latte', ['tag' => 'section', 'attrs' => og_attrs(['aria-labelledby', (og_t($v_landmarkLabel) ? null : og_tpl('{0}-title', [$v_id])), 'data-layout', $v_layout, 'aria-label', $v_landmarkLabel, 'data-slot', 'cookie']), 'children' => (string) $c_11])|noescape}\n",
      "path": "blocks/cookie-banner.latte",
      "target": "blocks/cookie-banner.latte"
    }
  ],
  "meta": {
    "category": "promo",
    "group": "banner",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "cookie-banner",
  "registryDependencies": [
    "block",
    "box",
    "button",
    "container",
    "group",
    "lucide-icon",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "latte",
  "title": "Cookie Banner",
  "type": "registry:block"
}
