github chakra-ui/panda @pandacss/node@0.5.1

latest releases: @pandacss/token-dictionary@0.51.1, @pandacss/types@0.51.1, @pandacss/studio@0.51.1...
18 months ago

Patch Changes

  • 5b09ab3: Add support for --outfile flag in the cssgen command.

    panda cssgen --outfile dist/styles.css
  • 78ed6ed: Fix issue where using a nested outdir like src/styled-system with a baseUrl like ./src would result on
    parser NOT matching imports like import { container } from "styled-system/patterns"; cause it would expect the full
    path src/styled-system

  • e48b130: - Remove stack from box.toJSON() so that generated JSON files have less noise, mostly useful to get make
    the panda debug command easier to read

    • Also use the ParserResult.toJSON() method on panda debug command for the same reason

    instead of:

    [
      {
        "type": "map",
        "value": {
          "padding": {
            "type": "literal",
            "value": "25px",
            "node": "StringLiteral",
            "stack": [
              "CallExpression",
              "ObjectLiteralExpression",
              "PropertyAssignment",
              "Identifier",
              "Identifier",
              "VariableDeclaration",
              "StringLiteral"
            ],
            "line": 10,
            "column": 20
          },
          "fontSize": {
            "type": "literal",
            "value": "2xl",
            "node": "StringLiteral",
            "stack": [
              "CallExpression",
              "ObjectLiteralExpression",
              "PropertyAssignment",
              "ConditionalExpression"
            ],
            "line": 11,
            "column": 67
          }
        },
        "node": "CallExpression",
        "stack": [
          "CallExpression",
          "ObjectLiteralExpression"
        ],
        "line": 11,
        "column": 21
      },

    we now have:

    {
      "css": [
        {
          "type": "object",
          "name": "css",
          "box": {
            "type": "map",
            "value": {},
            "node": "CallExpression",
            "line": 15,
            "column": 27
          },
          "data": [
            {
              "alignItems": "center",
              "backgroundColor": "white",
              "border": "1px solid black",
              "borderRadius": "8px",
              "display": "flex",
              "gap": "16px",
              "p": "8px",
              "pr": "16px"
            }
          ]
        }
      ],
      "cva": [],
      "recipe": {
        "checkboxRoot": [
          {
            "type": "recipe",
            "name": "checkboxRoot",
            "box": {
              "type": "map",
              "value": {},
              "node": "CallExpression",
              "line": 38,
              "column": 47
            },
            "data": [
              {}
            ]
          }
        ],
  • 1a2c0e2: Fix panda.config.xxx file dependencies detection when using the builder (= with PostCSS or with the VSCode
    extension). It will now also properly resolve tsconfig path aliases.

  • Updated dependencies [6f03ead]

  • Updated dependencies [8c670d6]

  • Updated dependencies [3319890]

  • Updated dependencies [53fb070]

  • Updated dependencies [c0335cf]

  • Updated dependencies [762fd0c]

  • Updated dependencies [f9247e5]

  • Updated dependencies [1ed239c]

  • Updated dependencies [09ebaf2]

  • Updated dependencies [78ed6ed]

  • Updated dependencies [e48b130]

  • Updated dependencies [1a2c0e2]

  • Updated dependencies [b8f8c2a]

  • Updated dependencies [a3d760c]

  • Updated dependencies [d9bc63e]

    • @pandacss/extractor@0.5.1
    • @pandacss/types@0.5.1
    • @pandacss/config@0.5.1
    • @pandacss/generator@0.5.1
    • @pandacss/shared@0.5.1
    • @pandacss/logger@0.5.1
    • @pandacss/core@0.5.1
    • @pandacss/parser@0.5.1
    • @pandacss/token-dictionary@0.5.1
    • @pandacss/error@0.5.1
    • @pandacss/is-valid-prop@0.5.1

Don't miss a new panda release

NewReleases is sending notifications on new releases.