Repository navigation
v0.1.0-alpha.1
Pre-release
Pre-release
Fixes the defect that made 0.1.0-alpha.0 unusable: every component rendered unstyled, and a consumer had no supported way to load the rules.
Fixed
- Component stylesheets now reach the consumer. In library mode Rollup strips
import "./Button.css"out of the chunk and nothing put it back, so alpha.0 shipped all 20 component stylesheets as emitted assets that no chunk imported and noexportsentry named. Measured against the install fixture, alpha.0 produces a 4.52 kB consumer CSS bundle (tokens only) where this release produces 21.06 kB. Nothing changes at the call site: importing a component brings its stylesheet with it, as the README always said. - Two guards, both verified against alpha.0.
check:packnow fails on a packed stylesheet that no module imports and noexportsentry names (it reports all 20 on the old build), and CI asserts that a component's rules land in the install fixture's own bundle (it fails on Button and Drawer, one per import shape). Both existing checks had been green throughout, because each asked only whether advertised paths resolve, never whether a shipped file was reachable.
Upgrading
pnpm add @lablup/ui-common@alpha. No API change, no call-site change.
lablup/ui-ai has the identical build configuration and the same defect. It needs the same change before its own consumers can rely on it.