Skip to content

Version Packages#35

Merged
joacod merged 1 commit into
mainfrom
changeset-release/main
Oct 10, 2025
Merged

Version Packages#35
joacod merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@joacod/pixel-ui@0.12.0

Minor Changes

  • d274db1: Refactor font export and improve documentation component previews

    This release introduces a new optional font import and improves the documentation site's component preview isolation.

    Library Changes:

    • Separate font export: Font styles moved to dedicated font.css file, exported as @joacod/pixel-ui/font
    • Simplified package exports: Removed ./styles, ./preset, and ./theme exports in favor of ./components and ./font
    • Optimized bundle: Font is now optional, reducing bundle size for consumers who use custom fonts
    • Updated README and installation docs to reflect new optional font import pattern

    Documentation Site Improvements:

    • Shadow DOM component previews: All component previews now render inside Shadow DOM for complete style isolation
    • New ShadowPreview component: Prevents doc styles from leaking into component demos and vice versa
    • Font loading improvements: Pixel font loaded globally once for Shadow DOM components
    • Better font handling: Docs site uses Inter and Geist Mono for documentation, pixel font only for components
    • New utility: getPixelUIStyles() helper for server-side style injection into Shadow DOM

    Breaking Changes:

    • Removed exports: ./styles, ./preset, and ./theme are no longer available
    • Migration: Import @joacod/pixel-ui/components for all component styles (no change if already using this)
    • Font now optional: Add @import '@joacod/pixel-ui/font' if you want the pixel font (recommended for authentic look)

www@0.0.13

Patch Changes

  • d274db1: Refactor font export and improve documentation component previews

    This release introduces a new optional font import and improves the documentation site's component preview isolation.

    Library Changes:

    • Separate font export: Font styles moved to dedicated font.css file, exported as @joacod/pixel-ui/font
    • Simplified package exports: Removed ./styles, ./preset, and ./theme exports in favor of ./components and ./font
    • Optimized bundle: Font is now optional, reducing bundle size for consumers who use custom fonts
    • Updated README and installation docs to reflect new optional font import pattern

    Documentation Site Improvements:

    • Shadow DOM component previews: All component previews now render inside Shadow DOM for complete style isolation
    • New ShadowPreview component: Prevents doc styles from leaking into component demos and vice versa
    • Font loading improvements: Pixel font loaded globally once for Shadow DOM components
    • Better font handling: Docs site uses Inter and Geist Mono for documentation, pixel font only for components
    • New utility: getPixelUIStyles() helper for server-side style injection into Shadow DOM

    Breaking Changes:

    • Removed exports: ./styles, ./preset, and ./theme are no longer available
    • Migration: Import @joacod/pixel-ui/components for all component styles (no change if already using this)
    • Font now optional: Add @import '@joacod/pixel-ui/font' if you want the pixel font (recommended for authentic look)
  • Updated dependencies [d274db1]

    • @joacod/pixel-ui@0.12.0

@joacod joacod merged commit c617ac6 into main Oct 10, 2025
@joacod joacod deleted the changeset-release/main branch October 10, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant