{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Nav Bar Menu component",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "<!-- Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT. -->\n<!-- The links of NavBar in a nav landmark; left out when there are no links. -->\n<script lang=\"ts\" module>\n  import type { Snippet } from \"svelte\";\n  import type { NavLink } from \"../blocks/nav-bar.types\";\n\n  export type NavBarMenuProps = {\n    label: string;\n    links: NavLink[];\n    current?: string;\n    landmarkLabel?: string;\n  };\n</script>\n\n<script lang=\"ts\">\n  import NavBlock from \"../components/nav-block.svelte\";\n  import NavLinks from \"../components/nav-links.svelte\";\n\n  let { label, links, current = \"\", landmarkLabel }: NavBarMenuProps = $props();\n</script>\n\n{#if ((links?.length ?? 0) > 0)}\n  <NavBlock\n    label={label}\n    class={\"order-last w-full overflow-x-auto md:order-none md:w-auto [&>div]:flex-nowrap md:[&>div]:flex-wrap [&_a]:shrink-0\"}\n    testid=\"site-nav\"\n    landmarkLabel={landmarkLabel}\n  >\n    <NavLinks links={links} current={current} />\n  </NavBlock>\n{/if}\n",
      "path": "components/nav-bar-menu.svelte",
      "target": "components/nav-bar-menu.svelte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "svelte",
      "component"
    ]
  },
  "name": "nav-bar-menu",
  "registryDependencies": [
    "nav-bar",
    "nav-block",
    "nav-links",
    "utils"
  ],
  "runtime": "svelte",
  "title": "Nav Bar Menu",
  "type": "registry:component"
}
