{
  "$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{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? null) -%}\n{%- set v_target = (p.target ?? null) -%}\n{%- set v_position = (p.position ?? null) -%}\n{%- set v_skip = (p.skip ?? null) -%}\n{%- set v_next = (p.next ?? null) -%}\n{%- set v_placement = (p.placement ?? 'below') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_10 -%}\n  {%- set c_9 -%}\n    {%- set c_1 -%}\n      {{ og_text(v_target) }}\n    {%- endset -%}\n    {{ include('compose/Button.html.twig', {'variant': 'outline', 'size': 'default', 'type': 'button', 'class': 'inset-ring-foreground', 'children': c_1}, with_context = false) }}\n    {%- set c_8 -%}\n      {%- set c_2 -%}\n        {{ og_text(v_position) }}\n      {%- endset -%}\n      {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n      {%- set c_3 -%}\n        {{ og_text(v_title) }}\n      {%- endset -%}\n      {{ include('compose/Text.html.twig', {'size': 'base', 'weight': 'semibold', 'children': c_3}, with_context = false) }}\n      {%- set c_4 -%}\n        {{ og_text(v_text) }}\n      {%- endset -%}\n      {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_4}, with_context = false) }}\n      {%- set c_7 -%}\n        {%- set c_5 -%}\n          {{ og_text(v_skip) }}\n        {%- endset -%}\n        {{ include('compose/Button.html.twig', {'variant': 'ghost', 'size': 'sm', 'type': 'button', 'children': c_5}, with_context = false) }}\n        {%- set c_6 -%}\n          {{ og_text(v_next) }}\n        {%- endset -%}\n        {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'sm', 'type': 'button', 'children': c_6}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Group.html.twig', {'gap': '2', 'justify': 'end', 'children': c_7}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'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': c_8}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Block.html.twig', {'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': c_9}, with_context = false) }}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_10)}, with_context = false) }}\n",
      "path": "blocks/tour-callout.html.twig",
      "target": "blocks/tour-callout.html.twig"
    }
  ],
  "meta": {
    "category": "onboarding",
    "group": "guidance",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "tour-callout",
  "registryDependencies": [
    "block",
    "button",
    "group",
    "section-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Tour Callout",
  "type": "registry:block"
}
