{
  "$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": "// Code generated by packages/kit-compose/src/build.ts from src/map.ts + variants/. DO NOT EDIT.\n// Token-only recipes of the compositions (source: packages/kit-compose/variants).\ntype R = { base: string; keys: string[]; defaults: Record<string, string>; byKey: Record<string, Record<string, string>>; compound: Array<Record<string, string>> };\nexport const RECIPES: Record<string, R> = {\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\n/** Classes of recipe `id` for the given values (unset = defaults), compound variants included. */\nexport function rc(id: string, values: Record<string, string | number | undefined>): string {\n  const r = RECIPES[id];\n  const pick = (k: string) => (values[k] === undefined || values[k] === \"\" ? r.defaults[k] : String(values[k]));\n  const out = [r.base, ...r.keys.map((k) => r.byKey[k]?.[pick(k) ?? \"\"] ?? \"\")];\n  for (const c of r.compound) {\n    const { class: cls, ...when } = c;\n    if (Object.entries(when).every(([k, v]) => pick(k) === v)) out.push(cls);\n  }\n  return out.filter(Boolean).join(\" \");\n}\n",
      "path": "compose/recipes.ts",
      "target": "compose/recipes.ts"
    }
  ],
  "meta": {
    "category": "lib",
    "kind": "lib",
    "tags": [
      "solid",
      "lib"
    ]
  },
  "name": "recipes",
  "registryDependencies": [
    "utils"
  ],
  "runtime": "solid",
  "title": "Recipes",
  "type": "registry:lib"
}
