{
  "$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 = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_text = og_def(p['text'], none) -%}\n{%- set v_target = og_def(p['target'], none) -%}\n{%- set v_position = og_def(p['position'], none) -%}\n{%- set v_skip = og_def(p['skip'], none) -%}\n{%- set v_next = og_def(p['next'], none) -%}\n{%- set v_placement = og_def(p['placement'], 'below') -%}\n{%- set v_tone = og_def(p['tone'], 'default') -%}\n{%- set v_density = og_def(p['density'], 'default') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_10 -%}\n  {%- set c_9 -%}\n    {%- set c_1 -%}\n      {{ og_text(v_target) }}\n    {%- endset -%}\n    {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'default', 'Type': 'button', 'Class': 'inset-ring-foreground'}, 'children': c_1}) }}\n    {%- set c_8 -%}\n      {%- set c_2 -%}\n        {{ og_text(v_position) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}\n      {%- set c_3 -%}\n        {{ og_text(v_title) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'base', 'Weight': 'semibold'}, 'children': c_3}) }}\n      {%- set c_4 -%}\n        {{ og_text(v_text) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_4}) }}\n      {%- set c_7 -%}\n        {%- set c_5 -%}\n          {{ og_text(v_skip) }}\n        {%- endset -%}\n        {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Type': 'button'}, 'children': c_5}) }}\n        {%- set c_6 -%}\n          {{ og_text(v_next) }}\n        {%- endset -%}\n        {{ og_include('compose/button.html.j2', {'p': {'Variant': 'default', 'Size': 'sm', 'Type': 'button'}, 'children': c_6}) }}\n      {%- endset -%}\n      {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Justify': 'end'}, 'children': c_7}) }}\n    {%- endset -%}\n    {{ og_include('compose/stack.html.j2', {'p': {'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}) }}\n  {%- endset -%}\n  {{ og_include('compose/block.html.j2', {'p': {'Tag': 'div', 'Class': og_s(og_cnv(['flex gap-4', ('flex-col items-start md:flex-row md:items-center' if og_t(og_eq(v_placement, 'end')) else ('flex-col-reverse items-start' if og_t(og_eq(v_placement, 'above')) else 'flex-col items-start'))])), 'Attrs': og_attrs(['data-placement', v_placement, 'data-slot', 'tour'])}, 'children': c_9}) }}\n{%- endset -%}\n{{ og_include('blocks/section-frame.html.j2', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_10)}) }}\n",
      "path": "blocks/tour-callout.html.j2",
      "target": "blocks/tour-callout.html.j2"
    }
  ],
  "meta": {
    "category": "onboarding",
    "group": "guidance",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "tour-callout",
  "registryDependencies": [
    "block",
    "button",
    "group",
    "section-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Tour Callout",
  "type": "registry:block"
}
