Skip to content

Commit c617ac6

Browse files
Version Packages (#35)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d274db1 commit c617ac6

5 files changed

Lines changed: 63 additions & 31 deletions

File tree

.changeset/font-refactor.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

apps/www/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# www
22

3+
## 0.0.13
4+
5+
### Patch Changes
6+
7+
- d274db1: Refactor font export and improve documentation component previews
8+
9+
This release introduces a new optional font import and improves the documentation site's component preview isolation.
10+
11+
**Library Changes:**
12+
13+
- Separate font export: Font styles moved to dedicated `font.css` file, exported as `@joacod/pixel-ui/font`
14+
- Simplified package exports: Removed `./styles`, `./preset`, and `./theme` exports in favor of `./components` and `./font`
15+
- Optimized bundle: Font is now optional, reducing bundle size for consumers who use custom fonts
16+
- Updated README and installation docs to reflect new optional font import pattern
17+
18+
**Documentation Site Improvements:**
19+
20+
- Shadow DOM component previews: All component previews now render inside Shadow DOM for complete style isolation
21+
- New `ShadowPreview` component: Prevents doc styles from leaking into component demos and vice versa
22+
- Font loading improvements: Pixel font loaded globally once for Shadow DOM components
23+
- Better font handling: Docs site uses Inter and Geist Mono for documentation, pixel font only for components
24+
- New utility: `getPixelUIStyles()` helper for server-side style injection into Shadow DOM
25+
26+
**Breaking Changes:**
27+
28+
- Removed exports: `./styles`, `./preset`, and `./theme` are no longer available
29+
- Migration: Import `@joacod/pixel-ui/components` for all component styles (no change if already using this)
30+
- Font now optional: Add `@import '@joacod/pixel-ui/font'` if you want the pixel font (recommended for authentic look)
31+
32+
- Updated dependencies [d274db1]
33+
- @joacod/pixel-ui@0.12.0
34+
335
## 0.0.12
436

537
### Patch Changes

apps/www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "www",
3-
"version": "0.0.12",
3+
"version": "0.0.13",
44
"private": true,
55
"scripts": {
66
"build": "next build",

packages/pixel-ui/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# pixel-ui
22

3+
## 0.12.0
4+
5+
### Minor Changes
6+
7+
- d274db1: Refactor font export and improve documentation component previews
8+
9+
This release introduces a new optional font import and improves the documentation site's component preview isolation.
10+
11+
**Library Changes:**
12+
13+
- Separate font export: Font styles moved to dedicated `font.css` file, exported as `@joacod/pixel-ui/font`
14+
- Simplified package exports: Removed `./styles`, `./preset`, and `./theme` exports in favor of `./components` and `./font`
15+
- Optimized bundle: Font is now optional, reducing bundle size for consumers who use custom fonts
16+
- Updated README and installation docs to reflect new optional font import pattern
17+
18+
**Documentation Site Improvements:**
19+
20+
- Shadow DOM component previews: All component previews now render inside Shadow DOM for complete style isolation
21+
- New `ShadowPreview` component: Prevents doc styles from leaking into component demos and vice versa
22+
- Font loading improvements: Pixel font loaded globally once for Shadow DOM components
23+
- Better font handling: Docs site uses Inter and Geist Mono for documentation, pixel font only for components
24+
- New utility: `getPixelUIStyles()` helper for server-side style injection into Shadow DOM
25+
26+
**Breaking Changes:**
27+
28+
- Removed exports: `./styles`, `./preset`, and `./theme` are no longer available
29+
- Migration: Import `@joacod/pixel-ui/components` for all component styles (no change if already using this)
30+
- Font now optional: Add `@import '@joacod/pixel-ui/font'` if you want the pixel font (recommended for authentic look)
31+
332
## 0.11.0
433

534
### Minor Changes

packages/pixel-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@joacod/pixel-ui",
3-
"version": "0.11.0",
3+
"version": "0.12.0",
44
"description": "Opinionated pixel-art styled React component library built on Base UI",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)