Skip to content

Releases: astahmer/pandabox

@pandabox/panda-plugins@0.0.2

24 Feb 23:49
2ad8c93
Compare
Choose a tag to compare

Patch Changes

  • 8471320: Add pluginMinimalSetup / pluginStrictTokensScope / pluginRemoveFeatures / pluginRemoveNegativeSpacing

    @pandabox/panda-plugins

    • strict-tokens-scope - Enforce strictTokens only for a set of TokenCategory or style props
    • remove-negative-spacing - Removes negative spacing tokens
    • remove-features - Removes features from the styled-system
    • minimal-setup - Removes the built-in presets and allow removing features from the styled-system

    Installation

    pnpm add -D @pandabox/panda-plugins

    Usage

    import { defineConfig } from "@pandacss/dev";
    import {
      pluginStrictTokensScope,
      pluginRemoveNegativeSpacing,
      pluginRemoveFeatures,
    } from "@pandabox/panda-plugins";
    
    export default defineConfig({
      // ...
      strictTokens: true,
      // can also be used together with
      // strictPropertyValues: true,
      //
      plugins: [
        pluginStrictTokensScope({ categories: ["colors", "spacing"] }),
        pluginRemoveFeatures({ features: ["no-jsx", "no-cva"] }),
        pluginRemoveNegativeSpacing({ spacingTokenType: true, tokenType: true }),
      ],
    });

@pandabox/unplugin-panda-macro@0.0.2

20 Feb 09:43
Compare
Choose a tag to compare

Patch Changes

  • e99bf0e: Allow only inlining macro imports

    import { css } from "../styled-system/css" with { type: "macro" };
    //                                         ^^^^^^^^^^^^^^^^^^^^
    // without this, the plugin will not transform the `css` usage
    
    const className = css({
      display: "flex",
      flexDirection: "column",
      color: "red.300",
    });
    // -> `const className = 'd_flex flex_column text_red.300'`

@pandabox/unplugin-panda-macro@0.0.1

09 Feb 01:17
Compare
Choose a tag to compare

Patch Changes

  • ed8bfb4: initial release
  • Updated dependencies [ed8bfb4]
    • @pandabox/postcss-plugins@0.0.1

@pandabox/utils@0.0.3

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/define-theme@0.0.3

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/define-recipe@0.0.2

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/codemods@0.0.1

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/define-theme@0.0.2

19 Jan 00:55
284b7b9
Compare
Choose a tag to compare

Patch Changes

@pandabox/define-recipe@0.0.1

19 Jan 00:55
284b7b9
Compare
Choose a tag to compare

Patch Changes