/** * Root entry point โ€” deliberately almost empty. * * Strix is unbarrelled by design (`docs/llms.txt` ยง"Unbarrelled"): one subpath per * component and per icon, so a consumer's bundle contains only what it imported. A root * barrel that re-exports components works against that, and the version of this file that * shipped in 0.0.1 exported `Button`, `Card` and `cn` โ€” three of thirty-one components, * which is not a design, it is whichever three were written first. Reaching for * `@gtmi/strix-react` and getting `Button` but not `Badge` is worse than getting neither. * * So components are not re-exported here. Import them by subpath: * * import { Button } from '@gtmi/strix-react/button'; * import { Badge } from '@gtmi/strix-react/badge'; * import { GlobeIcon } from '@gtmi/strix-react/icons/globe'; * * `cn` stays, because it is the one export with no component of its own to live beside and * because this entry has to remain callable from a React Server Component โ€” it is the only * entry besides `./cn` and `./tokens` that `scripts/mark-use-client.mjs` leaves without a * `'use client'` directive. Adding a component export here would have to move with that. */ export { cn } from './cn'; //# sourceMappingURL=index.d.ts.map