Skip to content

Commit

Permalink
Version Packages (#47)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 2, 2024
1 parent 44c0f43 commit 8176eb6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .changeset/fifty-doors-cry.md

This file was deleted.

21 changes: 21 additions & 0 deletions packages/unplugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @pandabox/unplugin

## 0.1.0

### Minor Changes

- c1b48fd: - Fix CSS generation when using `outfile`

- Add `optimizeJs` option to optionally transform your source code by inlining the `css` / `cva` / `${patternFn}`
resulting classNames or even simplify `styled` JSX factory to their primitive HTML tags (originally coming from
`@pandabox/unplugin-panda-macro`)

-> This is enabled by default and can be disabled by setting `optimizeJs` to `false` or `"macro"` (to only transform
functions using `with { type: "macro" }`)

- Transform `cva` to an optimized string-version of the `cva` function :

-> Style objects are converted to class strings, this might not work when styles should be merged and you can opt-out
of this by using `with { type: "runtime" }` on your `cva` import or by setting `optimizeJs` to false (or `macro` to
only transform functions using `with { type: "macro" }`)

- Add e2e tests (in-browser + HMR)

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pandabox/unplugin",
"type": "module",
"version": "0.0.2",
"version": "0.1.0",
"packageManager": "pnpm@8.6.12",
"description": "Panda CSS as a Vite/Rollup/Webpack/Esbuild plugin",
"exports": {
Expand Down

0 comments on commit 8176eb6

Please sign in to comment.