/** * `cn` — re-exported from @hanzo/ui, which is where the one implementation now * lives. * * There were two of them in this package (here and utils/cn.ts), both calling * `twMerge(clsx(...))`. twMerge exists to resolve conflicts BETWEEN Tailwind * utilities, and there are none left to resolve: this package renders through * @hanzo/gui style props, and a class name here is only a stable handle a host * may select on. So it was resolving conflicts in a vocabulary nothing writes, * at the cost of two dependencies. */ export { cn, type ClassValue } from '@hanzo/ui'; /** * The three converters — `Box`, `sx`, `css` — from the same one place. * * A class name is notation, and which thing reads it depends on what receives * it: a host element takes `Box`, a gui component takes `sx`, and something that * accepts only `style` takes `css`. That is the styling contract this package * documents, so it is a contract this package has to hand out: a Lux surface * that must name @hanzo/ui to write the style its own design system prescribes * is a surface pinning a second copy of the engine. * * `css` returns flat CSSProperties, so a breakpoint or a hover variant has to * ride `Box` or `sx` instead — a flat `style` attribute has nowhere to put one. */ export { Box, sx, css, type BoxProps } from '@hanzo/ui'; //# sourceMappingURL=utils.d.ts.map