Skip to content

Releases: astahmer/pandabox

@pandabox/panda-plugins@0.0.8

30 May 07:42
aaffbe9
Compare
Choose a tag to compare

Patch Changes

  • 02f76f2: Fix an issue with the StrictTokensScope plugin when only using props (and no categories)

@pandabox/prettier-plugin@0.1.3

29 May 08:41
89c30a8
Compare
Choose a tag to compare

Patch Changes

  • f080836: Add pandaIgnoreComponents option to ignore sorting some components

@pandabox/unplugin@0.1.3

10 Apr 13:56
1ce567f
Compare
Choose a tag to compare

Patch Changes

  • 65d951a: Change optimizeJs default value to macro + fix HMR when using outfile option (and maybe for SSR ?)

@pandabox/unplugin@0.1.2

09 Apr 00:19
f9c3c10
Compare
Choose a tag to compare

Patch Changes

  • fdac578: fix: optimizeJs should be based off transformResult.code

@pandabox/unplugin@0.1.1

08 Apr 21:12
bab9a97
Compare
Choose a tag to compare

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 but optimizeJs was disabled,
    the transformed code would not be returned

@pandabox/prettier-plugin@0.1.2

03 Apr 21:16
e612bed
Compare
Choose a tag to compare

Patch Changes

  • 581c38c: fix(prettier-plugin): sort compoundVariants/staticCss last for cva/recipes

@pandabox/unplugin@0.1.0

02 Apr 08:15
8176eb6
Compare
Choose a tag to compare

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)

@pandabox/utils@0.0.5

28 Mar 13:37
f0c7ef0
Compare
Choose a tag to compare

Patch Changes

@pandabox/unplugin@0.0.2

28 Mar 13:37
f0c7ef0
Compare
Choose a tag to compare

Patch Changes

@pandabox/unplugin-panda-macro@0.0.4

28 Mar 13:37
f0c7ef0
Compare
Choose a tag to compare

Patch Changes

  • 4af7ef7: Fix an issue where some unrelated components from Panda would be transformed due to having the same name as some Panda components (JSX Patterns like Stack)
  • 25fed76: Update to panda 0.36.1