Skip to content

Releases: astahmer/pandabox

@pandabox/[email protected]

27 Feb 21:07
152f87c
Compare
Choose a tag to compare

Patch Changes

  • b355420: Add pluginStrictTokensRuntime to throw at runtime when using arbitrary values with strictTokens

@pandabox/[email protected]

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

Patch Changes

  • 9b66e69: Fix assignInlineVars return, use --xxx as keys instead of var(--xxx)

@pandabox/[email protected]

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/[email protected]

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/[email protected]

09 Feb 01:17
Compare
Choose a tag to compare

Patch Changes

@pandabox/[email protected]

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/[email protected]

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/[email protected]

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/[email protected]

07 Feb 20:59
Compare
Choose a tag to compare

Patch Changes

  • 300266f: bump versions & publish new packages

@pandabox/[email protected]

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

Patch Changes