Found by the second real consumer of @tangle-network/ui (discovery-lab dashboard).
@tangle-network/ui components emit raw Tailwind v4 utility class names, and the package ships no compiled stylesheet. A consumer that installs ONLY @tangle-network/ui gets unstyled markup with no error and no doc pointing at the fix. The working configuration is undocumented and non-obvious: install @tangle-network/sandbox-ui as well and import ITS dist/styles.css (191 KB, self-contained, built with ui's classes in its Tailwind scan).
Ask, in preference order:
- Ship a compiled
dist/styles.css from @tangle-network/ui itself covering its own class usage, so the package is self-sufficient.
- Failing that, document the sandbox-ui dependency for styling prominently in the ui README.
Cost when unknown: components render as bare divs; nothing errors; the consumer burns time suspecting their bundler before suspecting the package.
Found by the second real consumer of
@tangle-network/ui(discovery-lab dashboard).@tangle-network/uicomponents emit raw Tailwind v4 utility class names, and the package ships no compiled stylesheet. A consumer that installs ONLY@tangle-network/uigets unstyled markup with no error and no doc pointing at the fix. The working configuration is undocumented and non-obvious: install@tangle-network/sandbox-uias well and import ITSdist/styles.css(191 KB, self-contained, built with ui's classes in its Tailwind scan).Ask, in preference order:
dist/styles.cssfrom@tangle-network/uiitself covering its own class usage, so the package is self-sufficient.Cost when unknown: components render as bare divs; nothing errors; the consumer burns time suspecting their bundler before suspecting the package.