{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Sign in, sign up and reset password.",
  "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/auth-card.json\n    A sign-in, sign-up or password reset card: heading, one sentence, the fields of the mode, a submit button, optional alternative sign-in buttons and a link to the other mode. Axes: mode (signin, signup, reset), layout (card, plain), social (none, show).\n    Props (p): id, title, text, submit, switchText, switchLink, switchHref, labels, mode, layout, social, level, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? null) -%}\n{%- set v_submit = (p.submit ?? null) -%}\n{%- set v_switchText = (p.switchText ?? null) -%}\n{%- set v_switchLink = (p.switchLink ?? null) -%}\n{%- set v_switchHref = (p.switchHref ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set v_mode = (p.mode ?? 'signin') -%}\n{%- set v_layout = (p.layout ?? 'card') -%}\n{%- set v_social = (p.social ?? 'none') -%}\n{%- set v_level = (p.level ?? 2) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_16 -%}\n  {%- set c_3 -%}\n    {%- set c_1 -%}\n      {{ og_text(v_title) }}\n    {%- endset -%}\n    {{ include('compose/Title.html.twig', {'as': og_i(v_level), 'size': '2xl', 'weight': 'bold', 'attrs': og_attrs(['id', og_tpl('{0}-title', [v_id])]), 'children': c_1}, with_context = false) }}\n    {%- set c_2 -%}\n      {{ og_text(v_text) }}\n    {%- endset -%}\n    {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Stack.html.twig', {'gap': '2', 'children': c_3}, with_context = false) }}\n  {%- if og_t(og_and([og_eq(v_social, 'first'), not (og_eq(v_social, 'none')), not (og_eq(v_mode, 'reset')), not (og_eq(v_mode, 'magic'))])) %}\n    {%- set c_8 -%}\n      {%- set c_5 -%}\n        {{ include('compose/Separator.html.twig', {'class': 'flex-1'}, with_context = false) }}\n        {%- set c_4 -%}\n          {{ og_text(og_get(v_labels, ['divider'])) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_4}, with_context = false) }}\n        {{ include('compose/Separator.html.twig', {'class': 'flex-1'}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'center', 'children': c_5}, with_context = false) }}\n      {%- set c_6 -%}\n        {{ include('icons/LucideIcon.html.twig', {'name': 'key-round', 'size': 16}, with_context = false) }}\n        {{ og_text(og_get(v_labels, ['passkey'])) }}\n      {%- endset -%}\n      {{ include('compose/Button.html.twig', {'variant': 'outline', 'size': 'default', 'type': 'button', 'class': 'w-full', 'children': c_6}, with_context = false) }}\n      {%- set c_7 -%}\n        {{ include('icons/LucideIcon.html.twig', {'name': 'mail', 'size': 16}, with_context = false) }}\n        {{ og_text(og_get(v_labels, ['magic'])) }}\n      {%- endset -%}\n      {{ include('compose/Button.html.twig', {'variant': 'outline', 'size': 'default', 'type': 'button', 'class': 'w-full', 'children': c_7}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'gap': '4', 'attrs': og_attrs(['data-slot', 'social']), 'children': c_8}, with_context = false) }}\n  {%- endif %}\n  {{ include('blocks/auth-form.html.twig', {'p': {'id': v_id, 'mode': v_mode, 'labels': v_labels, 'submit': v_submit}}, with_context = false) }}\n  {%- if og_t(og_and([not (og_eq(v_social, 'first')), not (og_eq(v_social, 'none')), not (og_eq(v_mode, 'reset')), not (og_eq(v_mode, 'magic'))])) %}\n    {%- set c_13 -%}\n      {%- set c_10 -%}\n        {{ include('compose/Separator.html.twig', {'class': 'flex-1'}, with_context = false) }}\n        {%- set c_9 -%}\n          {{ og_text(og_get(v_labels, ['divider'])) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_9}, with_context = false) }}\n        {{ include('compose/Separator.html.twig', {'class': 'flex-1'}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'center', 'children': c_10}, with_context = false) }}\n      {%- set c_11 -%}\n        {{ include('icons/LucideIcon.html.twig', {'name': 'key-round', 'size': 16}, with_context = false) }}\n        {{ og_text(og_get(v_labels, ['passkey'])) }}\n      {%- endset -%}\n      {{ include('compose/Button.html.twig', {'variant': 'outline', 'size': 'default', 'type': 'button', 'class': 'w-full', 'children': c_11}, with_context = false) }}\n      {%- set c_12 -%}\n        {{ include('icons/LucideIcon.html.twig', {'name': 'mail', 'size': 16}, with_context = false) }}\n        {{ og_text(og_get(v_labels, ['magic'])) }}\n      {%- endset -%}\n      {{ include('compose/Button.html.twig', {'variant': 'outline', 'size': 'default', 'type': 'button', 'class': 'w-full', 'children': c_12}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Stack.html.twig', {'gap': '4', 'attrs': og_attrs(['data-slot', 'social']), 'children': c_13}, with_context = false) }}\n  {%- endif %}\n  {%- set c_15 -%}\n    {{ og_text(v_switchText) }}\n    {{ og_text(' ') }}\n    {%- set c_14 -%}\n      {{ og_text(v_switchLink) }}\n    {%- endset -%}\n    {{ include('compose/Link.html.twig', {'href': og_url(og_s(v_switchHref)), 'variant': 'default', 'attrs': og_attrs(['data-slot', 'switch']), 'children': c_14}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-center text-muted-foreground', 'children': c_15}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'tag': 'section', 'class': og_s(og_cnv(['flex w-full flex-col gap-6', (og_t(og_eq(v_layout, 'card')) ? 'rounded bg-card p-6 inset-ring inset-ring-border' : '')])), 'attrs': og_attrs(['aria-labelledby', (og_t(v_landmarkLabel) ? null : og_tpl('{0}-title', [v_id])), 'data-mode', v_mode, 'aria-label', v_landmarkLabel, 'data-slot', 'auth-card']), 'children': c_16}, with_context = false) }}\n",
      "path": "blocks/auth-card.html.twig",
      "target": "blocks/auth-card.html.twig"
    }
  ],
  "meta": {
    "category": "account",
    "group": "auth",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "auth-card",
  "registryDependencies": [
    "auth-form",
    "block",
    "button",
    "group",
    "link",
    "lucide-icon",
    "separator",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Auth Card",
  "type": "registry:block"
}
