{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Recipes (Tailwind classes per variant/size/state) of the composed primitives",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{\n  \"recipes\": {\n    \"alert\": {\n      \"base\": \"flex min-h-8 items-center gap-2 px-2 text-xs font-semibold inset-ring rounded\",\n      \"keys\": [\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"variant\": {\n          \"default\": \"bg-card text-card-foreground inset-ring-border\",\n          \"destructive\": \"bg-muted text-destructive inset-ring-destructive\",\n          \"success\": \"bg-card text-primary inset-ring-primary\",\n          \"warning\": \"bg-accent text-accent-foreground inset-ring-border\"\n        }\n      },\n      \"compound\": []\n    },\n    \"badge\": {\n      \"base\": \"inline-flex shrink-0 items-center justify-center whitespace-nowrap font-medium inset-ring rounded-full\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"h-5 px-2 text-xs\",\n          \"default\": \"h-6 px-3 text-xs\",\n          \"lg\": \"h-8 px-4 text-sm\"\n        },\n        \"variant\": {\n          \"default\": \"bg-primary text-primary-foreground inset-ring-primary\",\n          \"secondary\": \"bg-muted text-foreground inset-ring-transparent\",\n          \"outline\": \"bg-transparent text-foreground inset-ring-border\",\n          \"destructive\": \"bg-destructive text-destructive-foreground inset-ring-transparent focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40\"\n        }\n      },\n      \"compound\": []\n    },\n    \"block\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"box\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"button\": {\n      \"base\": \"inline-flex shrink-0 items-center justify-center whitespace-nowrap font-medium inset-ring transition-colors disabled:pointer-events-none disabled:opacity-50 rounded\",\n      \"keys\": [\n        \"variant\",\n        \"size\",\n        \"layout\"\n      ],\n      \"defaults\": {\n        \"variant\": \"default\",\n        \"size\": \"default\",\n        \"layout\": \"default\"\n      },\n      \"byKey\": {\n        \"variant\": {\n          \"default\": \"bg-primary text-primary-foreground inset-ring-primary hover:bg-primary/90\",\n          \"outline\": \"bg-card text-foreground inset-ring-border hover:bg-accent hover:text-accent-foreground\",\n          \"ghost\": \"bg-transparent text-foreground inset-ring-transparent hover:bg-accent hover:text-accent-foreground\",\n          \"secondary\": \"bg-secondary text-secondary-foreground inset-ring-border hover:bg-secondary/80\",\n          \"destructive\": \"bg-destructive text-destructive-foreground hover:bg-destructive-hover inset-ring-transparent focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40\",\n          \"link\": \"text-primary inset-ring-transparent underline-offset-4 hover:underline\"\n        },\n        \"size\": {\n          \"sm\": \"h-8 px-3 text-sm\",\n          \"default\": \"h-10 px-4 text-sm\",\n          \"lg\": \"h-12 px-6 text-base\"\n        },\n        \"layout\": {\n          \"default\": \"\",\n          \"icon\": \"\"\n        }\n      },\n      \"compound\": [\n        {\n          \"layout\": \"icon\",\n          \"size\": \"sm\",\n          \"class\": \"size-8 p-0 [&>svg]:size-4\"\n        },\n        {\n          \"layout\": \"icon\",\n          \"size\": \"default\",\n          \"class\": \"size-10 p-0 [&>svg]:size-5\"\n        },\n        {\n          \"layout\": \"icon\",\n          \"size\": \"lg\",\n          \"class\": \"size-12 p-0 [&>svg]:size-6\"\n        },\n        {\n          \"variant\": \"outline\",\n          \"layout\": \"icon\",\n          \"class\": \"text-muted-foreground\"\n        },\n        {\n          \"variant\": \"ghost\",\n          \"layout\": \"icon\",\n          \"class\": \"text-muted-foreground\"\n        }\n      ]\n    },\n    \"button-plain\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"card\": {\n      \"base\": \"flex flex-col gap-8 bg-card p-6 text-card-foreground inset-ring inset-ring-border rounded\",\n      \"keys\": [\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"variant\": {\n          \"default\": \"\",\n          \"muted\": \"bg-muted\",\n          \"ghost\": \"bg-transparent\",\n          \"compact\": \"gap-4 p-4\"\n        }\n      },\n      \"compound\": []\n    },\n    \"checkbox\": {\n      \"base\": \"peer shrink-0 appearance-none bg-background inset-ring inset-ring-input checked:bg-primary checked:inset-ring-primary checkbox-glyph disabled:cursor-not-allowed disabled:opacity-50\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"default\": \"size-5\",\n          \"sm\": \"size-4\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"ghost\": \"bg-muted\"\n        }\n      },\n      \"compound\": []\n    },\n    \"container\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"dialog\": {\n      \"base\": \"m-auto open:flex open:flex-col bg-background text-foreground inset-ring inset-ring-border shadow-lg backdrop:bg-foreground/20 rounded\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"default\": \"w-70\",\n          \"full\": \"h-full w-full\",\n          \"lg\": \"w-100\",\n          \"xl\": \"w-140\"\n        },\n        \"variant\": {\n          \"card\": \"bg-card text-card-foreground\",\n          \"default\": \"\",\n          \"sheet\": \"min-h-screen rounded-none\"\n        }\n      },\n      \"compound\": []\n    },\n    \"disclosure\": {\n      \"base\": \"group\",\n      \"keys\": [\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"variant\": {\n          \"card\": \"rounded bg-card inset-ring inset-ring-border\",\n          \"default\": \"rounded inset-ring inset-ring-border\",\n          \"ghost\": \"\",\n          \"item\": \"border-b border-border last:border-b-0\"\n        }\n      },\n      \"compound\": []\n    },\n    \"fieldset\": {\n      \"base\": \"grid\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"default\": \"gap-2\",\n          \"lg\": \"gap-4\",\n          \"sm\": \"gap-2\"\n        },\n        \"variant\": {\n          \"card\": \"rounded p-4 inset-ring inset-ring-border\",\n          \"default\": \"\",\n          \"inline\": \"flex flex-wrap items-start gap-4\"\n        }\n      },\n      \"compound\": []\n    },\n    \"form\": {\n      \"base\": \"grid gap-4\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"form-description\": {\n      \"base\": \"text-xs font-semibold text-muted-foreground\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"form-item\": {\n      \"base\": \"flex flex-col gap-2\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"form-message\": {\n      \"base\": \"text-xs font-semibold text-destructive\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"grid\": {\n      \"base\": \"grid\",\n      \"keys\": [\n        \"cols\"\n      ],\n      \"defaults\": {\n        \"cols\": \"1\"\n      },\n      \"byKey\": {\n        \"cols\": {\n          \"1\": \"grid-cols-1\",\n          \"2\": \"grid-cols-2\",\n          \"3\": \"grid-cols-3\",\n          \"4\": \"grid-cols-4\",\n          \"5\": \"grid-cols-5\",\n          \"6\": \"grid-cols-6\",\n          \"7\": \"grid-cols-7\",\n          \"8\": \"grid-cols-8\",\n          \"9\": \"grid-cols-9\",\n          \"10\": \"grid-cols-10\",\n          \"11\": \"grid-cols-11\",\n          \"12\": \"grid-cols-12\",\n          \"1-2\": \"grid-cols-1 md:grid-cols-2\",\n          \"1-3\": \"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3\",\n          \"1-4\": \"grid-cols-1 sm:grid-cols-2 md:grid-cols-4\",\n          \"2-3\": \"grid-cols-2 md:grid-cols-3\",\n          \"2-4\": \"grid-cols-2 md:grid-cols-4\",\n          \"2-6\": \"grid-cols-2 md:grid-cols-6\",\n          \"3-6\": \"grid-cols-3 md:grid-cols-6\"\n        }\n      },\n      \"compound\": []\n    },\n    \"group\": {\n      \"base\": \"flex min-w-0\",\n      \"keys\": [\n        \"gap\",\n        \"align\",\n        \"justify\"\n      ],\n      \"defaults\": {\n        \"gap\": \"auto\",\n        \"align\": \"center\",\n        \"justify\": \"start\"\n      },\n      \"byKey\": {\n        \"gap\": {\n          \"0\": \"gap-0\",\n          \"2\": \"gap-2\",\n          \"4\": \"gap-4\",\n          \"6\": \"gap-6\",\n          \"8\": \"gap-8\",\n          \"10\": \"gap-10\",\n          \"12\": \"gap-12\",\n          \"auto\": \"\"\n        },\n        \"align\": {\n          \"start\": \"items-start\",\n          \"center\": \"items-center\",\n          \"end\": \"items-end\",\n          \"stretch\": \"items-stretch\",\n          \"baseline\": \"items-baseline\"\n        },\n        \"justify\": {\n          \"start\": \"justify-start\",\n          \"center\": \"justify-center\",\n          \"end\": \"justify-end\",\n          \"between\": \"justify-between\"\n        }\n      },\n      \"compound\": []\n    },\n    \"icon\": {\n      \"base\": \"inline-block shrink-0\",\n      \"keys\": [\n        \"size\",\n        \"type\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"type\": \"class\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"xs\": \"size-3\",\n          \"default\": \"size-4\",\n          \"md\": \"size-5\",\n          \"lg\": \"size-6\"\n        },\n        \"type\": {\n          \"class\": \"\",\n          \"svg\": \"\",\n          \"text\": \"\"\n        }\n      },\n      \"compound\": []\n    },\n    \"iconbadge\": {\n      \"base\": \"inline-flex shrink-0 items-center justify-center font-bold rounded\",\n      \"keys\": [\n        \"variant\",\n        \"size\"\n      ],\n      \"defaults\": {\n        \"variant\": \"default\",\n        \"size\": \"default\"\n      },\n      \"byKey\": {\n        \"variant\": {\n          \"default\": \"bg-muted text-muted-foreground\",\n          \"primary\": \"bg-primary text-primary-foreground\",\n          \"accent\": \"bg-accent text-accent-foreground\",\n          \"secondary\": \"bg-secondary text-secondary-foreground\",\n          \"outline\": \"text-foreground inset-ring inset-ring-border\",\n          \"destructive\": \"bg-destructive text-destructive-foreground\"\n        },\n        \"size\": {\n          \"xs\": \"size-6 text-xs\",\n          \"sm\": \"size-8 text-xs\",\n          \"default\": \"size-10 text-xs\",\n          \"lg\": \"size-12 text-sm\",\n          \"xl\": \"size-20 text-base\"\n        }\n      },\n      \"compound\": []\n    },\n    \"image\": {\n      \"base\": \"block max-w-full\",\n      \"keys\": [\n        \"aspect\",\n        \"fit\",\n        \"position\",\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"aspect\": \"auto\",\n        \"fit\": \"cover\",\n        \"position\": \"center\",\n        \"size\": \"auto\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"aspect\": {\n          \"auto\": \"aspect-auto\",\n          \"square\": \"aspect-square\",\n          \"video\": \"aspect-video\"\n        },\n        \"fit\": {\n          \"contain\": \"object-contain\",\n          \"cover\": \"object-cover\",\n          \"fill\": \"object-fill\",\n          \"none\": \"object-none\",\n          \"scale-down\": \"object-scale-down\"\n        },\n        \"position\": {\n          \"bottom\": \"object-bottom\",\n          \"center\": \"object-center\",\n          \"left\": \"object-left\",\n          \"left-bottom\": \"object-left-bottom\",\n          \"left-top\": \"object-left-top\",\n          \"right\": \"object-right\",\n          \"right-bottom\": \"object-right-bottom\",\n          \"right-top\": \"object-right-top\",\n          \"top\": \"object-top\"\n        },\n        \"size\": {\n          \"auto\": \"\",\n          \"default\": \"\",\n          \"full\": \"h-full w-full\",\n          \"xs\": \"size-6\",\n          \"sm\": \"size-8\",\n          \"md\": \"size-12\",\n          \"lg\": \"size-16\",\n          \"xl\": \"size-20\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"logo\": \"object-contain\"\n        }\n      },\n      \"compound\": []\n    },\n    \"inline\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"input\": {\n      \"base\": \"w-full min-w-0 bg-background text-foreground inset-ring inset-ring-input outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 focus-visible:inset-ring-ring rounded aria-invalid:inset-ring-destructive\",\n      \"keys\": [\n        \"size\",\n        \"variant\",\n        \"state\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\",\n        \"state\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"h-8 px-3 text-base md:text-sm\",\n          \"default\": \"h-10 px-3 text-base md:text-sm\",\n          \"lg\": \"h-12 px-4 text-base\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"ghost\": \"bg-muted inset-ring-transparent\"\n        },\n        \"state\": {\n          \"default\": \"\",\n          \"error\": \"inset-ring-destructive focus-visible:inset-ring-destructive\"\n        }\n      },\n      \"compound\": []\n    },\n    \"label\": {\n      \"base\": \"text-xs font-bold text-foreground\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"legend\": {\n      \"base\": \"font-bold\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"text-xs\",\n          \"default\": \"text-sm\",\n          \"lg\": \"text-base\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"muted\": \"text-muted-foreground\"\n        }\n      },\n      \"compound\": []\n    },\n    \"link\": {\n      \"base\": \"inline-flex items-center underline-offset-4\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"gap-2 text-sm font-medium\",\n          \"default\": \"gap-2 text-base font-semibold\",\n          \"md\": \"gap-2 text-xl font-semibold\",\n          \"lg\": \"gap-2 text-2xl font-semibold\"\n        },\n        \"variant\": {\n          \"block\": \"flex w-full text-foreground hover:text-primary\",\n          \"default\": \"text-primary hover:underline\",\n          \"external\": \"text-primary hover:underline\",\n          \"muted\": \"text-muted-foreground hover:text-foreground\",\n          \"nav\": \"text-foreground hover:text-primary\"\n        }\n      },\n      \"compound\": []\n    },\n    \"link-plain\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"list\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"lucide-icon\": {\n      \"base\": \"inline-block shrink-0\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"meter\": {\n      \"base\": \"w-full appearance-none overflow-hidden bg-muted progress-bar rounded\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"h-1\",\n          \"default\": \"h-2\",\n          \"lg\": \"h-3\"\n        },\n        \"variant\": {\n          \"default\": \"[--bar:var(--color-primary)]\",\n          \"muted\": \"[--bar:var(--color-muted-foreground)]\"\n        }\n      },\n      \"compound\": []\n    },\n    \"progress\": {\n      \"base\": \"w-full appearance-none overflow-hidden bg-muted progress-bar rounded\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"h-1\",\n          \"default\": \"h-2\",\n          \"lg\": \"h-3\"\n        },\n        \"variant\": {\n          \"default\": \"[--bar:var(--color-primary)]\",\n          \"muted\": \"[--bar:var(--color-muted-foreground)]\"\n        }\n      },\n      \"compound\": []\n    },\n    \"prose\": {\n      \"base\": \"w-full min-w-0 mx-auto break-words [&>*+*]:mt-4 [&>:first-child]:mt-0 [&_h2]:mt-8 [&_h2]:text-2xl [&_h2]:font-semibold [&_h3]:mt-6 [&_h3]:text-xl [&_h3]:font-semibold [&_a]:text-primary [&_a]:underline [&_a]:underline-offset-4 [&_ul]:list-disc [&_ul]:pl-6 [&_ol]:list-decimal [&_ol]:pl-6 [&_li+li]:mt-2 [&_blockquote]:border-l-4 [&_blockquote]:border-border [&_blockquote]:pl-4 [&_blockquote]:text-muted-foreground [&_img]:h-auto [&_img]:max-w-full [&_img]:rounded [&_code]:rounded [&_code]:bg-muted [&_code]:px-2 [&_pre]:overflow-x-auto [&_pre]:rounded [&_pre]:bg-muted [&_pre]:p-4 [&_table]:w-full [&_table]:border-collapse [&_th]:border-b [&_th]:border-border [&_th]:py-2 [&_th]:pr-4 [&_th]:text-left [&_th]:font-semibold [&_td]:border-b [&_td]:border-border [&_td]:py-2 [&_td]:pr-4 [&_figcaption]:mt-2 [&_figcaption]:text-sm [&_figcaption]:text-muted-foreground [&_.wp-caption-text]:mt-2 [&_.wp-caption-text]:text-sm [&_.wp-caption-text]:text-muted-foreground [&_.wp-element-caption]:mt-2 [&_.wp-element-caption]:text-sm [&_.wp-element-caption]:text-muted-foreground [&_.aligncenter]:mx-auto [&_.alignwide]:w-full [&_.alignfull]:w-full\",\n      \"keys\": [\n        \"size\",\n        \"width\"\n      ],\n      \"defaults\": {\n        \"size\": \"base\",\n        \"width\": \"narrow\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"text-sm leading-6\",\n          \"base\": \"text-base leading-6\",\n          \"lg\": \"text-lg leading-8\"\n        },\n        \"width\": {\n          \"narrow\": \"max-w-2xl\",\n          \"wide\": \"max-w-4xl\",\n          \"none\": \"max-w-none\"\n        }\n      },\n      \"compound\": []\n    },\n    \"radio\": {\n      \"base\": \"shrink-0 appearance-none rounded-full bg-background inset-ring inset-ring-input checked:bg-primary checked:inset-ring-primary radio-glyph disabled:cursor-not-allowed disabled:opacity-50\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"default\": \"size-5 [--dot:10px]\",\n          \"sm\": \"size-4 [--dot:8px]\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"ghost\": \"bg-muted\"\n        }\n      },\n      \"compound\": []\n    },\n    \"range\": {\n      \"base\": \"h-5 w-full cursor-pointer appearance-none bg-transparent accent-primary disabled:cursor-not-allowed disabled:opacity-50 [&::-webkit-slider-runnable-track]:h-1 [&::-webkit-slider-runnable-track]:rounded [&::-webkit-slider-runnable-track]:bg-muted [&::-webkit-slider-thumb]:-mt-1 [&::-webkit-slider-thumb]:size-4 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded [&::-webkit-slider-thumb]:bg-primary [&::-moz-range-track]:h-1 [&::-moz-range-track]:rounded [&::-moz-range-track]:bg-muted [&::-moz-range-thumb]:size-4 [&::-moz-range-thumb]:rounded [&::-moz-range-thumb]:border-0 [&::-moz-range-thumb]:bg-primary\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"select\": {\n      \"base\": \"w-full min-w-0 bg-background text-foreground inset-ring inset-ring-input outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 focus-visible:inset-ring-ring rounded aria-invalid:inset-ring-destructive\",\n      \"keys\": [\n        \"size\",\n        \"variant\",\n        \"state\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\",\n        \"state\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"h-8 pl-3 pr-2 text-sm\",\n          \"default\": \"h-10 pl-3 pr-2 text-sm\",\n          \"lg\": \"h-12 pl-4 pr-2 text-base\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"ghost\": \"bg-muted inset-ring-transparent\"\n        },\n        \"state\": {\n          \"default\": \"\",\n          \"error\": \"inset-ring-destructive focus-visible:inset-ring-destructive\"\n        }\n      },\n      \"compound\": []\n    },\n    \"separator\": {\n      \"base\": \"shrink-0 border-0 bg-border\",\n      \"keys\": [\n        \"orientation\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"orientation\": \"horizontal\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"orientation\": {\n          \"horizontal\": \"h-px w-full\",\n          \"vertical\": \"h-full w-px\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"spaced\": \"my-6\"\n        }\n      },\n      \"compound\": []\n    },\n    \"sheet\": {\n      \"base\": \"fixed inset-0 z-50 open:flex\",\n      \"keys\": [\n        \"side\"\n      ],\n      \"defaults\": {\n        \"side\": \"right\"\n      },\n      \"byKey\": {\n        \"side\": {\n          \"left\": \"flex-row justify-start\",\n          \"right\": \"flex-row justify-end\"\n        }\n      },\n      \"compound\": []\n    },\n    \"sheettrigger\": {\n      \"base\": \"inline-flex shrink-0 cursor-pointer items-center justify-center rounded transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring\",\n      \"keys\": [\n        \"variant\",\n        \"size\"\n      ],\n      \"defaults\": {\n        \"variant\": \"default\",\n        \"size\": \"default\"\n      },\n      \"byKey\": {\n        \"variant\": {\n          \"default\": \"bg-muted text-foreground hover:bg-accent\",\n          \"ghost\": \"bg-transparent text-foreground hover:bg-muted\",\n          \"contrast\": \"bg-primary-foreground/10 text-primary-foreground hover:bg-primary-foreground/20\",\n          \"current\": \"bg-transparent text-current hover:bg-current/10\"\n        },\n        \"size\": {\n          \"sm\": \"size-8\",\n          \"default\": \"size-10\",\n          \"lg\": \"size-12\"\n        }\n      },\n      \"compound\": []\n    },\n    \"skeleton\": {\n      \"base\": \"animate-pulse bg-muted motion-reduce:animate-none rounded\",\n      \"keys\": [\n        \"shape\"\n      ],\n      \"defaults\": {\n        \"shape\": \"line\"\n      },\n      \"byKey\": {\n        \"shape\": {\n          \"line\": \"h-4 w-full\",\n          \"block\": \"h-20 w-full\"\n        }\n      },\n      \"compound\": []\n    },\n    \"stack\": {\n      \"base\": \"flex flex-col\",\n      \"keys\": [\n        \"gap\",\n        \"align\",\n        \"justify\"\n      ],\n      \"defaults\": {\n        \"gap\": \"auto\",\n        \"align\": \"start\",\n        \"justify\": \"start\"\n      },\n      \"byKey\": {\n        \"gap\": {\n          \"0\": \"gap-0\",\n          \"2\": \"gap-2\",\n          \"4\": \"gap-4\",\n          \"6\": \"gap-6\",\n          \"8\": \"gap-8\",\n          \"10\": \"gap-10\",\n          \"12\": \"gap-12\",\n          \"auto\": \"\"\n        },\n        \"align\": {\n          \"start\": \"items-start\",\n          \"center\": \"items-center\",\n          \"end\": \"items-end\",\n          \"stretch\": \"items-stretch\",\n          \"baseline\": \"items-baseline\"\n        },\n        \"justify\": {\n          \"start\": \"justify-start\",\n          \"center\": \"justify-center\",\n          \"end\": \"justify-end\",\n          \"between\": \"justify-between\"\n        }\n      },\n      \"compound\": []\n    },\n    \"summary\": {\n      \"base\": \"flex cursor-pointer list-none items-center justify-between gap-2 [&::-webkit-details-marker]:hidden\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"text-xs font-semibold\",\n          \"default\": \"text-sm font-semibold\",\n          \"lg\": \"text-base font-semibold\"\n        },\n        \"variant\": {\n          \"card\": \"py-2 pr-4 pl-4\",\n          \"default\": \"py-2 pr-4 pl-4\",\n          \"ghost\": \"py-2\",\n          \"item\": \"py-4 text-muted-foreground hover:text-foreground group-open:text-foreground\"\n        }\n      },\n      \"compound\": []\n    },\n    \"switch\": {\n      \"base\": \"relative shrink-0 appearance-none bg-muted inset-ring inset-ring-input checked:bg-primary checked:inset-ring-primary switch-knob disabled:cursor-not-allowed disabled:opacity-50 rounded-full\",\n      \"keys\": [\n        \"size\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"default\": \"h-5 w-9 [--knob:12px] [--pad:4px]\",\n          \"sm\": \"h-4 w-8 [--knob:12px] [--pad:2px]\"\n        }\n      },\n      \"compound\": []\n    },\n    \"table\": {\n      \"base\": \"\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"table-cell\": {\n      \"base\": \"px-2 py-2 align-middle\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"table-head-cell\": {\n      \"base\": \"px-2 py-2 text-left align-middle font-semibold\",\n      \"keys\": [],\n      \"defaults\": {},\n      \"byKey\": {},\n      \"compound\": []\n    },\n    \"text\": {\n      \"base\": \"\",\n      \"keys\": [\n        \"size\",\n        \"weight\"\n      ],\n      \"defaults\": {\n        \"size\": \"inherit\",\n        \"weight\": \"inherit\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"xs\": \"text-xs\",\n          \"sm\": \"text-sm\",\n          \"base\": \"text-base\",\n          \"lg\": \"text-lg\",\n          \"xl\": \"text-xl\",\n          \"2xl\": \"text-2xl\",\n          \"3xl\": \"text-3xl\",\n          \"4xl\": \"text-4xl\",\n          \"5xl\": \"text-5xl\",\n          \"inherit\": \"\"\n        },\n        \"weight\": {\n          \"regular\": \"font-normal\",\n          \"medium\": \"font-medium\",\n          \"semibold\": \"font-semibold\",\n          \"bold\": \"font-bold\",\n          \"inherit\": \"\"\n        }\n      },\n      \"compound\": []\n    },\n    \"textarea\": {\n      \"base\": \"w-full min-w-0 bg-background text-foreground inset-ring inset-ring-input outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 focus-visible:inset-ring-ring rounded aria-invalid:inset-ring-destructive\",\n      \"keys\": [\n        \"size\",\n        \"variant\",\n        \"state\"\n      ],\n      \"defaults\": {\n        \"size\": \"default\",\n        \"variant\": \"default\",\n        \"state\": \"default\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"sm\": \"min-h-16 px-3 py-2 text-base md:text-sm\",\n          \"default\": \"min-h-20 px-3 py-2 text-base md:text-sm\",\n          \"lg\": \"min-h-24 px-4 py-3 text-base\"\n        },\n        \"variant\": {\n          \"default\": \"\",\n          \"ghost\": \"bg-muted inset-ring-transparent\"\n        },\n        \"state\": {\n          \"default\": \"\",\n          \"error\": \"inset-ring-destructive focus-visible:inset-ring-destructive\"\n        }\n      },\n      \"compound\": []\n    },\n    \"themetoggle\": {\n      \"base\": \"inline-flex shrink-0 cursor-pointer items-center justify-center rounded transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring\",\n      \"keys\": [\n        \"variant\",\n        \"size\"\n      ],\n      \"defaults\": {\n        \"variant\": \"default\",\n        \"size\": \"default\"\n      },\n      \"byKey\": {\n        \"variant\": {\n          \"default\": \"bg-muted text-foreground hover:bg-accent\",\n          \"ghost\": \"bg-transparent text-foreground hover:bg-muted\",\n          \"contrast\": \"bg-primary-foreground/10 text-primary-foreground hover:bg-primary-foreground/20\",\n          \"current\": \"bg-transparent text-current hover:bg-current/10\"\n        },\n        \"size\": {\n          \"sm\": \"size-8\",\n          \"default\": \"size-10\",\n          \"lg\": \"size-12\"\n        }\n      },\n      \"compound\": []\n    },\n    \"title\": {\n      \"base\": \"text-foreground\",\n      \"keys\": [\n        \"size\",\n        \"weight\"\n      ],\n      \"defaults\": {\n        \"size\": \"inherit\",\n        \"weight\": \"semibold\"\n      },\n      \"byKey\": {\n        \"size\": {\n          \"xs\": \"text-xs\",\n          \"sm\": \"text-sm\",\n          \"base\": \"text-base\",\n          \"lg\": \"text-lg\",\n          \"xl\": \"text-xl\",\n          \"2xl\": \"text-2xl\",\n          \"3xl\": \"text-3xl\",\n          \"4xl\": \"text-4xl\",\n          \"5xl\": \"text-5xl\",\n          \"inherit\": \"\"\n        },\n        \"weight\": {\n          \"regular\": \"font-normal\",\n          \"medium\": \"font-medium\",\n          \"semibold\": \"font-semibold\",\n          \"bold\": \"font-bold\"\n        }\n      },\n      \"compound\": []\n    }\n  },\n  \"compositions\": {\n    \"Box\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"box\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"div\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Block\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"block\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"div\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Stack\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"stack\",\n      \"keys\": [\n        \"gap\",\n        \"align\",\n        \"justify\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"div\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Group\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"group\",\n      \"keys\": [\n        \"gap\",\n        \"align\",\n        \"justify\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"div\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Grid\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"grid\",\n      \"keys\": [\n        \"cols\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"div\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"GridCol\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Container\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"container\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"div\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Inline\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"inline\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"span\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"List\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"list\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"ul\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"ListItem\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"li\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Skeleton\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"skeleton\",\n      \"keys\": [\n        \"shape\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {\n        \"aria-hidden\": \"true\"\n      }\n    },\n    \"Prose\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"prose\",\n      \"keys\": [\n        \"size\",\n        \"width\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Alert\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"alert\",\n      \"keys\": [\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {\n        \"role\": \"alert\",\n        \"data-slot\": \"alert\"\n      }\n    },\n    \"Card\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"card\",\n      \"keys\": [\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {\n        \"data-slot\": \"card\"\n      }\n    },\n    \"CardHeader\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"grid auto-rows-min items-start gap-2\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"CardTitle\": {\n      \"primitive\": \"Text\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"font-semibold leading-none\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": true,\n        \"fallback\": \"h3\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"CardDescription\": {\n      \"primitive\": \"Text\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"text-sm text-muted-foreground\",\n      \"tag\": \"p\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"CardContent\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"CardFooter\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"flex items-center\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Table\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"table\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"table\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableCaption\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"caption\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableHead\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"thead\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableBody\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"tbody\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableFoot\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"tfoot\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableRow\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"tr\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableHeadCell\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"table-head-cell\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"th\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableCell\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"table-cell\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"td\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableColGroup\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"colgroup\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"TableCol\": {\n      \"primitive\": \"Box\",\n      \"recipe\": null,\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"col\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Fieldset\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"fieldset\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"fieldset\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Legend\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"legend\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"legend\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"FormItem\": {\n      \"primitive\": \"Box\",\n      \"recipe\": \"form-item\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"div\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"FormDescription\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"form-description\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"p\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"FormMessage\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"form-message\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": \"p\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Text\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"text\",\n      \"keys\": [\n        \"size\",\n        \"weight\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": false,\n        \"fallback\": \"p\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Title\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"title\",\n      \"keys\": [\n        \"size\",\n        \"weight\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": {\n        \"heading\": true,\n        \"fallback\": \"h2\"\n      },\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Badge\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"badge\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"span\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {\n        \"data-slot\": \"badge\"\n      }\n    },\n    \"IconBadge\": {\n      \"primitive\": \"Text\",\n      \"recipe\": \"iconbadge\",\n      \"keys\": [\n        \"variant\",\n        \"size\"\n      ],\n      \"extra\": \"\",\n      \"tag\": \"span\",\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"LucideIcon\": {\n      \"primitive\": \"Icon\",\n      \"recipe\": \"lucide-icon\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Icon\": {\n      \"primitive\": \"Icon\",\n      \"recipe\": \"icon\",\n      \"keys\": [\n        \"size\",\n        \"type\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Button\": {\n      \"primitive\": \"Button\",\n      \"recipe\": \"button\",\n      \"keys\": [\n        \"variant\",\n        \"size\",\n        \"layout\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {\n        \"data-slot\": \"button\"\n      }\n    },\n    \"ButtonPlain\": {\n      \"primitive\": \"Button\",\n      \"recipe\": \"button-plain\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Link\": {\n      \"primitive\": \"Link\",\n      \"recipe\": \"link\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"LinkPlain\": {\n      \"primitive\": \"Link\",\n      \"recipe\": \"link-plain\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Label\": {\n      \"primitive\": \"Label\",\n      \"recipe\": \"label\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Form\": {\n      \"primitive\": \"Form\",\n      \"recipe\": \"form\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Input\": {\n      \"primitive\": \"Input\",\n      \"recipe\": \"input\",\n      \"keys\": [\n        \"size\",\n        \"variant\",\n        \"state\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {},\n      \"implies\": {\n        \"key\": \"state\",\n        \"value\": \"error\",\n        \"prop\": \"ariaInvalid\",\n        \"set\": \"true\"\n      }\n    },\n    \"Range\": {\n      \"primitive\": \"Input\",\n      \"recipe\": \"range\",\n      \"keys\": [],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {\n        \"type\": \"range\"\n      },\n      \"fixedAttrs\": {}\n    },\n    \"Textarea\": {\n      \"primitive\": \"Textarea\",\n      \"recipe\": \"textarea\",\n      \"keys\": [\n        \"size\",\n        \"variant\",\n        \"state\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {},\n      \"implies\": {\n        \"key\": \"state\",\n        \"value\": \"error\",\n        \"prop\": \"ariaInvalid\",\n        \"set\": \"true\"\n      }\n    },\n    \"Select\": {\n      \"primitive\": \"Select\",\n      \"recipe\": \"select\",\n      \"keys\": [\n        \"size\",\n        \"variant\",\n        \"state\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {},\n      \"implies\": {\n        \"key\": \"state\",\n        \"value\": \"error\",\n        \"prop\": \"ariaInvalid\",\n        \"set\": \"true\"\n      }\n    },\n    \"Checkbox\": {\n      \"primitive\": \"Checkbox\",\n      \"recipe\": \"checkbox\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Radio\": {\n      \"primitive\": \"Radio\",\n      \"recipe\": \"radio\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Switch\": {\n      \"primitive\": \"Switch\",\n      \"recipe\": \"switch\",\n      \"keys\": [\n        \"size\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Image\": {\n      \"primitive\": \"Image\",\n      \"recipe\": \"image\",\n      \"keys\": [\n        \"aspect\",\n        \"fit\",\n        \"position\",\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Separator\": {\n      \"primitive\": \"Separator\",\n      \"recipe\": \"separator\",\n      \"keys\": [\n        \"orientation\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Dialog\": {\n      \"primitive\": \"Dialog\",\n      \"recipe\": \"dialog\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Sheet\": {\n      \"primitive\": \"Dialog\",\n      \"recipe\": \"sheet\",\n      \"keys\": [\n        \"side\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Disclosure\": {\n      \"primitive\": \"Disclosure\",\n      \"recipe\": \"disclosure\",\n      \"keys\": [\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Summary\": {\n      \"primitive\": \"Summary\",\n      \"recipe\": \"summary\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {},\n      \"trail\": \"<span class=\\\"size-4 shrink-0 text-muted-foreground transition-transform group-open:rotate-180\\\" aria-hidden=\\\"true\\\" data-slot=\\\"summary-indicator\\\"></span>\"\n    },\n    \"Meter\": {\n      \"primitive\": \"Meter\",\n      \"recipe\": \"meter\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    },\n    \"Progress\": {\n      \"primitive\": \"Progress\",\n      \"recipe\": \"progress\",\n      \"keys\": [\n        \"size\",\n        \"variant\"\n      ],\n      \"extra\": \"\",\n      \"tag\": null,\n      \"tagFrom\": null,\n      \"fixedProps\": {},\n      \"fixedAttrs\": {}\n    }\n  }\n}\n",
      "path": "compose/compose.json",
      "target": "compose/compose.json"
    },
    {
      "content": "# Code generated by packages/kit-compose/src/build.ts from src/map.ts + variants/. DO NOT EDIT.\n\"\"\"codegen-x compositions for Jinja2: environment() = the installed kit environment (packages/kit/jinja2) + the compose/\ntemplates, and compose_props(name, p) -> the props of the primitive (recipe classes, tag, fixed props/attrs).\nTemplates: compose/<name>.html.j2, called like a primitive: render(p={...}, children=Markup(...)).\"\"\"\n\nimport json\nimport os\nfrom typing import Any\n\nfrom jinja2 import ChoiceLoader, FileSystemLoader\n\nHERE = os.path.dirname(os.path.abspath(__file__))\nwith open(os.path.join(HERE, \"compose.json\"), encoding=\"utf-8\") as f:\n    DATA = json.load(f)\n\n\ndef _pascal(k: str) -> str:\n    return k[:1].upper() + k[1:]\n\n\ndef _set(v: Any) -> bool:\n    # None, \"\" and Jinja Undefined (p['Missing']) are unset\n    return v is not None and str(v) != \"\"\n\n\ndef rc(rid: str, values: dict) -> str:\n    r = DATA[\"recipes\"][rid]\n\n    def pick(k: str) -> str:\n        v = values.get(k)\n        return str(v) if _set(v) else r[\"defaults\"].get(k, \"\")\n\n    out = [r[\"base\"]] + [r[\"byKey\"].get(k, {}).get(pick(k), \"\") for k in r[\"keys\"]]\n    for c in r[\"compound\"]:\n        if all(pick(k) == v for k, v in c.items() if k != \"class\"):\n            out.append(c[\"class\"])\n    return \" \".join(x for x in out if x)\n\n\ndef _heading(v: Any, fallback: str) -> str:\n    try:\n        n = int(str(v))\n    except (TypeError, ValueError):\n        return fallback\n    return f\"h{n}\" if 1 <= n <= 6 else fallback\n\n\ndef compose_props(name: str, p: Any) -> dict:\n    s = DATA[\"compositions\"][name]\n    q = dict(p or {})\n    values = {k: q.pop(_pascal(k), None) for k in s[\"keys\"]}\n    as_ = q.pop(\"As\", None) if s[\"tagFrom\"] and s[\"tagFrom\"][\"heading\"] else None\n    q[\"Class\"] = \" \".join(x for x in [rc(s[\"recipe\"], values) if s[\"recipe\"] else \"\", s[\"extra\"], q.get(\"Class\") or \"\"] if x)\n    if s[\"tag\"]:\n        q[\"Tag\"] = s[\"tag\"]\n    elif s[\"tagFrom\"] and s[\"tagFrom\"][\"heading\"]:\n        q[\"Tag\"] = _heading(as_, s[\"tagFrom\"][\"fallback\"])\n    elif s[\"tagFrom\"]:\n        q[\"Tag\"] = q.get(\"Tag\") if q.get(\"Tag\") is not None else s[\"tagFrom\"][\"fallback\"]\n    for k, v in s[\"fixedProps\"].items():\n        if not _set(q.get(_pascal(k))):\n            q[_pascal(k)] = v\n    if s[\"fixedAttrs\"]:\n        q[\"Attrs\"] = {**s[\"fixedAttrs\"], **(q.get(\"Attrs\") or {})}\n    im = s.get(\"implies\")\n    if im and values.get(im[\"key\"]) == im[\"value\"] and not _set(q.get(_pascal(im[\"prop\"]))):\n        q[_pascal(im[\"prop\"])] = im[\"set\"]\n    return q\n\n\ndef compose_trail(name: str, children: Any = None):\n    from markupsafe import Markup\n\n    t = DATA[\"compositions\"][name].get(\"trail\", \"\")\n    return Markup(children if children is not None and str(children) != \"\" else \"\") + Markup(t)\n\n\ndef environment(kit_root: str, **options: Any):\n    \"\"\"kit_root: the installed kit (packages/kit/jinja2/src); its ui8kit_jinja must be importable.\"\"\"\n    from ui8kit_jinja import environment as kit_environment\n\n    env = kit_environment(kit_root, **options)\n    env.loader = ChoiceLoader([FileSystemLoader(kit_root), FileSystemLoader(os.path.dirname(HERE))])\n    env.globals[\"compose_props\"] = compose_props\n    env.globals[\"compose_trail\"] = compose_trail\n    env.globals[\"compose_rc\"] = rc\n    env.globals[\"compose_join\"] = lambda parts: \" \".join(str(x) for x in parts if x)\n    return env\n",
      "path": "compose/compose_env.py",
      "target": "compose/compose_env.py"
    }
  ],
  "meta": {
    "category": "lib",
    "kind": "lib",
    "tags": [
      "jinja2",
      "lib"
    ]
  },
  "name": "recipes",
  "registryDependencies": [
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Recipes",
  "type": "registry:lib"
}
