{
  "$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{var $v_login = ($p['login'] ?? null)}\n{var $v_loginHref = ($p['loginHref'] ?? null)}\n{var $v_cta = ($p['cta'] ?? null)}\n{var $v_ctaHref = ($p['ctaHref'] ?? null)}\n{var $v_actions = ($p['actions'] ?? 'cta')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_themeLabel = ($p['themeLabel'] ?? null)}\n{if og_t($v_login)}\n  {capture $c_1}\n    {=og_text($v_login)}\n  {/capture}\n  {=og_include('compose/Button.latte', ['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' => (string) $c_1])|noescape}\n{/if}\n{if og_t(og_and([og_eq($v_actions, 'cta'), $v_cta]))}\n  {capture $c_2}\n    {=og_text($v_cta)}\n  {/capture}\n  {=og_include('compose/Button.latte', ['variant' => og_s((og_t(og_eq($v_tone, 'inverse')) ? 'secondary' : 'default')), 'size' => 'sm', 'href' => og_url(og_s($v_ctaHref)), 'children' => (string) $c_2])|noescape}\n{/if}\n{if og_t($v_themeLabel)}\n  {capture $c_3}\n    {=og_text($v_themeLabel)}\n  {/capture}\n  {=og_include('compose/Button.latte', ['variant' => 'outline', 'size' => 'sm', 'children' => (string) $c_3])|noescape}\n{/if}\n",
      "path": "blocks/nav-actions.latte",
      "target": "blocks/nav-actions.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "nav-actions",
  "registryDependencies": [
    "button",
    "utils"
  ],
  "runtime": "latte",
  "title": "Nav Actions",
  "type": "registry:component"
}
