{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The buttons at the end of a top bar: login, the call to action and the theme button (it only reports the press). No wrapper: they sit in the row of the bar.",
  "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/nav-actions.json\n    The buttons at the end of a top bar: login, the call to action and the theme button (it only reports the press). No wrapper: they sit in the row of the bar.\n    Props (p): login, loginHref, cta, ctaHref, actions, tone, themeLabel. -#}\n{%- set v_login = og_def(p['login'], none) -%}\n{%- set v_loginHref = og_def(p['loginHref'], none) -%}\n{%- set v_cta = og_def(p['cta'], none) -%}\n{%- set v_ctaHref = og_def(p['ctaHref'], none) -%}\n{%- set v_actions = og_def(p['actions'], 'cta') -%}\n{%- set v_tone = og_def(p['tone'], 'default') -%}\n{%- set v_themeLabel = og_def(p['themeLabel'], none) -%}\n{%- if og_t(v_login) %}\n  {%- set c_1 -%}\n    {{ og_text(v_login) }}\n  {%- endset -%}\n  {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Href': og_url(og_s(v_loginHref)), 'Class': og_s(('text-background hover:bg-background/10' if og_t(og_eq(v_tone, 'inverse')) else ''))}, 'children': c_1}) }}\n{%- endif %}\n{%- if og_t(og_and([og_eq(v_actions, 'cta'), v_cta])) %}\n  {%- set c_2 -%}\n    {{ og_text(v_cta) }}\n  {%- endset -%}\n  {{ og_include('compose/button.html.j2', {'p': {'Variant': og_s(('secondary' if og_t(og_eq(v_tone, 'inverse')) else 'default')), 'Size': 'sm', 'Href': og_url(og_s(v_ctaHref))}, 'children': c_2}) }}\n{%- endif %}\n{%- if og_t(v_themeLabel) %}\n  {%- set c_3 -%}\n    {{ og_text(v_themeLabel) }}\n  {%- endset -%}\n  {{ og_include('compose/button.html.j2', {'p': {'Variant': 'outline', 'Size': 'sm'}, 'children': c_3}) }}\n{%- endif %}\n",
      "path": "blocks/nav-actions.html.j2",
      "target": "blocks/nav-actions.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "nav-actions",
  "registryDependencies": [
    "button",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Nav Actions",
  "type": "registry:component"
}
