{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "One stop of a product tour: the explained element and a callout with the step, a sentence and buttons. Placing it on the real element is a port contract.",
  "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/tour-callout.json\n    One stop of a product tour: the element being explained and a callout beside it with a title, a sentence, the position in the tour and the buttons. Axes: placement (below, above, end: the callout sits beside the target), tone, density.\n    Props (p): id, title, text, target, position, skip, next, placement, tone, density, 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_target = ($p['target'] ?? null)}\n{var $v_position = ($p['position'] ?? null)}\n{var $v_skip = ($p['skip'] ?? null)}\n{var $v_next = ($p['next'] ?? null)}\n{var $v_placement = ($p['placement'] ?? 'below')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_10}\n  {capture $c_9}\n    {capture $c_1}\n      {=og_text($v_target)}\n    {/capture}\n    {=og_include('compose/Button.latte', ['variant' => 'outline', 'size' => 'default', 'type' => 'button', 'class' => 'inset-ring-foreground', 'children' => (string) $c_1])|noescape}\n    {capture $c_8}\n      {capture $c_2}\n        {=og_text($v_position)}\n      {/capture}\n      {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n      {capture $c_3}\n        {=og_text($v_title)}\n      {/capture}\n      {=og_include('compose/Text.latte', ['size' => 'base', 'weight' => 'semibold', 'children' => (string) $c_3])|noescape}\n      {capture $c_4}\n        {=og_text($v_text)}\n      {/capture}\n      {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_4])|noescape}\n      {capture $c_7}\n        {capture $c_5}\n          {=og_text($v_skip)}\n        {/capture}\n        {=og_include('compose/Button.latte', ['variant' => 'ghost', 'size' => 'sm', 'type' => 'button', 'children' => (string) $c_5])|noescape}\n        {capture $c_6}\n          {=og_text($v_next)}\n        {/capture}\n        {=og_include('compose/Button.latte', ['variant' => 'default', 'size' => 'sm', 'type' => 'button', 'children' => (string) $c_6])|noescape}\n      {/capture}\n      {=og_include('compose/Group.latte', ['gap' => '2', 'justify' => 'end', 'children' => (string) $c_7])|noescape}\n    {/capture}\n    {=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'class' => og_s(og_cnv(['w-full max-w-sm', 'rounded bg-card inset-ring inset-ring-border', 'p-4', 'shadow-md'])), 'attrs' => og_attrs(['role', 'group', 'aria-label', $v_title, 'data-slot', 'tour-callout']), 'children' => (string) $c_8])|noescape}\n  {/capture}\n  {=og_include('compose/Block.latte', ['tag' => 'div', 'class' => og_s(og_cnv(['flex gap-4', (og_t(og_eq($v_placement, 'end')) ? 'flex-col items-start md:flex-row md:items-center' : (og_t(og_eq($v_placement, 'above')) ? 'flex-col-reverse items-start' : 'flex-col items-start'))])), 'attrs' => og_attrs(['data-placement', $v_placement, 'data-slot', 'tour']), 'children' => (string) $c_9])|noescape}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['p' => ['id' => $v_id, 'title' => $v_title, 'tone' => $v_tone, 'density' => $v_density, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_10)])|noescape}\n",
      "path": "blocks/tour-callout.latte",
      "target": "blocks/tour-callout.latte"
    }
  ],
  "meta": {
    "category": "onboarding",
    "group": "guidance",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "tour-callout",
  "registryDependencies": [
    "block",
    "button",
    "group",
    "section-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Tour Callout",
  "type": "registry:block"
}
