{
  "$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 = (p.login ?? null) -%}\n{%- set v_loginHref = (p.loginHref ?? null) -%}\n{%- set v_cta = (p.cta ?? null) -%}\n{%- set v_ctaHref = (p.ctaHref ?? null) -%}\n{%- set v_actions = (p.actions ?? 'cta') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_themeLabel = (p.themeLabel ?? null) -%}\n{%- if og_t(v_login) %}\n  {%- set c_1 -%}\n    {{ og_text(v_login) }}\n  {%- endset -%}\n  {{ include('compose/Button.html.twig', {'variant': 'ghost', 'size': 'sm', 'href': og_url(og_s(v_loginHref)), 'class': og_s((og_t(og_eq(v_tone, 'inverse')) ? 'text-background hover:bg-background/10' : '')), 'children': c_1}, with_context = false) }}\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  {{ include('compose/Button.html.twig', {'variant': og_s((og_t(og_eq(v_tone, 'inverse')) ? 'secondary' : 'default')), 'size': 'sm', 'href': og_url(og_s(v_ctaHref)), 'children': c_2}, with_context = false) }}\n{%- endif %}\n{%- if og_t(v_themeLabel) %}\n  {%- set c_3 -%}\n    {{ og_text(v_themeLabel) }}\n  {%- endset -%}\n  {{ include('compose/Button.html.twig', {'variant': 'outline', 'size': 'sm', 'children': c_3}, with_context = false) }}\n{%- endif %}\n",
      "path": "blocks/nav-actions.html.twig",
      "target": "blocks/nav-actions.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "nav-actions",
  "registryDependencies": [
    "button",
    "utils"
  ],
  "runtime": "twig",
  "title": "Nav Actions",
  "type": "registry:component"
}
