Releases: astahmer/pandabox
@pandabox/[email protected]
Patch Changes
- 02f76f2: Fix an issue with the StrictTokensScope plugin when only using
props
(and nocategories
)
@pandabox/[email protected]
Patch Changes
- f080836: Add
pandaIgnoreComponents
option to ignore sorting some components
@pandabox/[email protected]
Patch Changes
- 65d951a: Change
optimizeJs
default value tomacro
+ fix HMR when usingoutfile
option (and maybe for SSR ?)
@pandabox/[email protected]
Patch Changes
- fdac578: fix: optimizeJs should be based off transformResult.code
@pandabox/[email protected]
Patch Changes
-
dfd87f9: - Add
onSourceFile
hook + provide PandaContext in hooks- Add
contextCreated
hook - Await hooks to allow for asynchronous operations
Fix case where if the
transform
hook returns a different code than the original code butoptimizeJs
was disabled,
the transformed code would not be returned - Add
@pandabox/[email protected]
Patch Changes
- 581c38c: fix(prettier-plugin): sort compoundVariants/staticCss last for cva/recipes
@pandabox/[email protected]
Minor Changes
-
c1b48fd: - Fix CSS generation when using
outfile
-
Add
optimizeJs
option to optionally transform your source code by inlining thecss
/cva
/${patternFn}
resulting classNames or even simplifystyled
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
tofalse
or"macro"
(to only transform
functions usingwith { type: "macro" }
) -
Transform
cva
to an optimized string-version of thecva
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 usingwith { type: "runtime" }
on yourcva
import or by settingoptimizeJs
to false (ormacro
to
only transform functions usingwith { type: "macro" }
) -
Add e2e tests (in-browser + HMR)
-
@pandabox/[email protected]
Patch Changes
- 25fed76: Update to panda 0.36.1
@pandabox/[email protected]
Patch Changes
- 25fed76: Update to panda 0.36.1