- Updated dependencies [b7ed157]
- Updated dependencies [54426a2]
- Updated dependencies [54426a2]
- @pandacss/generator@0.46.0
- @pandacss/core@0.46.0
- @pandacss/shared@0.46.0
- @pandacss/config@0.46.0
- @pandacss/parser@0.46.0
- @pandacss/extractor@0.46.0
- @pandacss/token-dictionary@0.46.0
- @pandacss/types@0.46.0
- @pandacss/logger@0.46.0
- Updated dependencies [8c276ff]
- @pandacss/generator@0.45.2
- @pandacss/parser@0.45.2
- @pandacss/config@0.45.2
- @pandacss/core@0.45.2
- @pandacss/extractor@0.45.2
- @pandacss/logger@0.45.2
- @pandacss/shared@0.45.2
- @pandacss/token-dictionary@0.45.2
- @pandacss/types@0.45.2
- 26924c7: chore: switch to package-manager-detector to reduce dependencies
- Updated dependencies [3439ecf]
- @pandacss/token-dictionary@0.45.1
- @pandacss/core@0.45.1
- @pandacss/generator@0.45.1
- @pandacss/parser@0.45.1
- @pandacss/config@0.45.1
- @pandacss/extractor@0.45.1
- @pandacss/logger@0.45.1
- @pandacss/shared@0.45.1
- @pandacss/types@0.45.1
- Updated dependencies [dcc9053]
- Updated dependencies [a21fcfe]
- Updated dependencies [1e4da63]
- Updated dependencies [552dd4b]
- @pandacss/generator@0.45.0
- @pandacss/types@0.45.0
- @pandacss/token-dictionary@0.45.0
- @pandacss/core@0.45.0
- @pandacss/shared@0.45.0
- @pandacss/parser@0.45.0
- @pandacss/config@0.45.0
- @pandacss/logger@0.45.0
- @pandacss/extractor@0.45.0
- Updated dependencies [d7f5cab]
- Updated dependencies [a8c0cde]
- Updated dependencies [c99cb75]
- @pandacss/config@0.44.0
- @pandacss/generator@0.44.0
- @pandacss/types@0.44.0
- @pandacss/parser@0.44.0
- @pandacss/core@0.44.0
- @pandacss/logger@0.44.0
- @pandacss/token-dictionary@0.44.0
- @pandacss/extractor@0.44.0
- @pandacss/shared@0.44.0
- Updated dependencies [e952f82]
- @pandacss/generator@0.43.0
- @pandacss/types@0.43.0
- @pandacss/core@0.43.0
- @pandacss/parser@0.43.0
- @pandacss/config@0.43.0
- @pandacss/logger@0.43.0
- @pandacss/token-dictionary@0.43.0
- @pandacss/extractor@0.43.0
- @pandacss/shared@0.43.0
-
19c3a2c: Minor changes to the format of the
panda analyze --output coverage.json
file -
ec64819: Change recipes
className
to be optional, both forrecipes
andslotRecipes
, with a fallback to its name.import { defineConfig } from '@pandacss/core' export default defineConfig({ recipes: { button: { className: 'button', // 👈 was mandatory, is now optional variants: { size: { sm: { padding: '2', borderRadius: 'sm' }, md: { padding: '4', borderRadius: 'md' }, }, }, }, }, })
-
17a1932: [BREAKING] Removed the legacy
config.optimize
option because it was redundant. Now, we always optimize the generated CSS where possible. -
Updated dependencies [e157dd1]
-
Updated dependencies [19c3a2c]
-
Updated dependencies [f00ff88]
-
Updated dependencies [ec64819]
-
Updated dependencies [17a1932]
- @pandacss/generator@0.42.0
- @pandacss/parser@0.42.0
- @pandacss/types@0.42.0
- @pandacss/core@0.42.0
- @pandacss/extractor@0.42.0
- @pandacss/config@0.42.0
- @pandacss/logger@0.42.0
- @pandacss/token-dictionary@0.42.0
- @pandacss/shared@0.42.0
- Updated dependencies [af8a29a]
- Updated dependencies [2750261]
- @pandacss/generator@0.41.0
- @pandacss/extractor@0.41.0
- @pandacss/parser@0.41.0
- @pandacss/core@0.41.0
- @pandacss/types@0.41.0
- @pandacss/config@0.41.0
- @pandacss/logger@0.41.0
- @pandacss/shared@0.41.0
- @pandacss/token-dictionary@0.41.0
- 48ff2b8: Improve
panda init --outdir=<x>
command to reflectoutdir
in generated panda config file. - Updated dependencies [d2cc156]
- @pandacss/generator@0.40.1
- @pandacss/core@0.40.1
- @pandacss/parser@0.40.1
- @pandacss/config@0.40.1
- @pandacss/extractor@0.40.1
- @pandacss/logger@0.40.1
- @pandacss/shared@0.40.1
- @pandacss/token-dictionary@0.40.1
- @pandacss/types@0.40.1
-
5dcdae4: Improve monorepo setup DX by exposing some cli flags
- Added new flag
--no-codegen
to skip codegen during initialization - Added new flag
--outdir
to specify the output directory for generated files
- Added new
--base
flag to specify the base directory for the entrypoints in the generatedpackage.json#exports
field
- Added new flag
- Updated dependencies [5dcdae4]
- @pandacss/core@0.40.0
- @pandacss/generator@0.40.0
- @pandacss/parser@0.40.0
- @pandacss/config@0.40.0
- @pandacss/extractor@0.40.0
- @pandacss/logger@0.40.0
- @pandacss/shared@0.40.0
- @pandacss/token-dictionary@0.40.0
- @pandacss/types@0.40.0
- 1f636eb: Fix a cache issue that leads to HMR growing slower in some cases
- af15ae9: Fix
panda analyze
JSON output serialization - Updated dependencies [39c305f]
- Updated dependencies [2f63a4c]
- Updated dependencies [1f636eb]
- Updated dependencies [8b07cdf]
- @pandacss/generator@0.39.2
- @pandacss/config@0.39.2
- @pandacss/shared@0.39.2
- @pandacss/core@0.39.2
- @pandacss/token-dictionary@0.39.2
- @pandacss/parser@0.39.2
- @pandacss/extractor@0.39.2
- @pandacss/types@0.39.2
- @pandacss/logger@0.39.2
- Updated dependencies [99be6f1]
- @pandacss/generator@0.39.1
- @pandacss/parser@0.39.1
- @pandacss/config@0.39.1
- @pandacss/core@0.39.1
- @pandacss/extractor@0.39.1
- @pandacss/logger@0.39.1
- @pandacss/shared@0.39.1
- @pandacss/token-dictionary@0.39.1
- @pandacss/types@0.39.1
- Updated dependencies [df2546a]
- Updated dependencies [221c9a2]
- Updated dependencies [0714f31]
- Updated dependencies [2116abe]
- Updated dependencies [c3e797e]
- Updated dependencies [935ec86]
- @pandacss/generator@0.39.0
- @pandacss/parser@0.39.0
- @pandacss/types@0.39.0
- @pandacss/core@0.39.0
- @pandacss/shared@0.39.0
- @pandacss/config@0.39.0
- @pandacss/logger@0.39.0
- @pandacss/token-dictionary@0.39.0
- @pandacss/extractor@0.39.0
- 2c8b933: Add least resource used (LRU) cache in the hot parts to prevent memory from growing infinitely
- Updated dependencies [96b47b3]
- Updated dependencies [bc09d89]
- Updated dependencies [7a96298]
- Updated dependencies [1e50336]
- Updated dependencies [2c8b933]
- Updated dependencies [b1e9e36]
- @pandacss/generator@0.38.0
- @pandacss/parser@0.38.0
- @pandacss/types@0.38.0
- @pandacss/core@0.38.0
- @pandacss/token-dictionary@0.38.0
- @pandacss/shared@0.38.0
- @pandacss/config@0.38.0
- @pandacss/logger@0.38.0
- @pandacss/extractor@0.38.0
- 84edd38: fix: build correct path for debug files on windows
- Updated dependencies [74dfb3e]
- Updated dependencies [b3beef4]
- @pandacss/generator@0.37.2
- @pandacss/types@0.37.2
- @pandacss/parser@0.37.2
- @pandacss/config@0.37.2
- @pandacss/core@0.37.2
- @pandacss/logger@0.37.2
- @pandacss/token-dictionary@0.37.2
- @pandacss/extractor@0.37.2
- @pandacss/shared@0.37.2
- Updated dependencies [93dc9f5]
- Updated dependencies [88049c5]
- Updated dependencies [885963c]
- Updated dependencies [99870bb]
- @pandacss/token-dictionary@0.37.1
- @pandacss/config@0.37.1
- @pandacss/generator@0.37.1
- @pandacss/types@0.37.1
- @pandacss/parser@0.37.1
- @pandacss/shared@0.37.1
- @pandacss/core@0.37.1
- @pandacss/logger@0.37.1
- @pandacss/extractor@0.37.1
- Updated dependencies [4e6cf85]
- Updated dependencies [7daf159]
- Updated dependencies [bcfb5c5]
- Updated dependencies [6247dfb]
- @pandacss/generator@0.37.0
- @pandacss/parser@0.37.0
- @pandacss/shared@0.37.0
- @pandacss/types@0.37.0
- @pandacss/core@0.37.0
- @pandacss/config@0.37.0
- @pandacss/extractor@0.37.0
- @pandacss/token-dictionary@0.37.0
- @pandacss/logger@0.37.0
- Updated dependencies [35bd134]
- Updated dependencies [bd0cb07]
- @pandacss/parser@0.36.1
- @pandacss/generator@0.36.1
- @pandacss/types@0.36.1
- @pandacss/config@0.36.1
- @pandacss/core@0.36.1
- @pandacss/logger@0.36.1
- @pandacss/token-dictionary@0.36.1
- @pandacss/extractor@0.36.1
- @pandacss/shared@0.36.1
- Updated dependencies [445c7b6]
- Updated dependencies [3af3940]
- Updated dependencies [861a280]
- Updated dependencies [656ff02]
- Updated dependencies [2691f16]
- Updated dependencies [340f4f1]
- Updated dependencies [fabdabe]
- @pandacss/config@0.36.0
- @pandacss/token-dictionary@0.36.0
- @pandacss/generator@0.36.0
- @pandacss/types@0.36.0
- @pandacss/core@0.36.0
- @pandacss/parser@0.36.0
- @pandacss/logger@0.36.0
- @pandacss/extractor@0.36.0
- @pandacss/shared@0.36.0
- Updated dependencies [f2fdc48]
- Updated dependencies [5585696]
- Updated dependencies [50db354]
- Updated dependencies [c459b43]
- Updated dependencies [44589ec]
- Updated dependencies [f6befbf]
- Updated dependencies [a0c4d27]
- @pandacss/token-dictionary@0.35.0
- @pandacss/generator@0.35.0
- @pandacss/config@0.35.0
- @pandacss/parser@0.35.0
- @pandacss/types@0.35.0
- @pandacss/core@0.35.0
- @pandacss/logger@0.35.0
- @pandacss/extractor@0.35.0
- @pandacss/shared@0.35.0
- Updated dependencies [39f529e]
- Updated dependencies [4576a60]
- @pandacss/generator@0.34.3
- @pandacss/parser@0.34.3
- @pandacss/config@0.34.3
- @pandacss/core@0.34.3
- @pandacss/extractor@0.34.3
- @pandacss/logger@0.34.3
- @pandacss/shared@0.34.3
- @pandacss/token-dictionary@0.34.3
- @pandacss/types@0.34.3
- Updated dependencies [a48f963]
- Updated dependencies [0bf09f2]
- Updated dependencies [58388de]
- @pandacss/generator@0.34.2
- @pandacss/extractor@0.34.2
- @pandacss/parser@0.34.2
- @pandacss/core@0.34.2
- @pandacss/config@0.34.2
- @pandacss/types@0.34.2
- @pandacss/logger@0.34.2
- @pandacss/shared@0.34.2
- @pandacss/token-dictionary@0.34.2
- Updated dependencies [d4942e0]
- @pandacss/token-dictionary@0.34.1
- @pandacss/generator@0.34.1
- @pandacss/core@0.34.1
- @pandacss/parser@0.34.1
- @pandacss/config@0.34.1
- @pandacss/extractor@0.34.1
- @pandacss/logger@0.34.1
- @pandacss/shared@0.34.1
- @pandacss/types@0.34.1
- Updated dependencies [1c63216]
- Updated dependencies [64d5144]
- Updated dependencies [d1516c8]
- Updated dependencies [7e348ae]
- Updated dependencies [9f04427]
- @pandacss/generator@0.34.0
- @pandacss/config@0.34.0
- @pandacss/token-dictionary@0.34.0
- @pandacss/core@0.34.0
- @pandacss/types@0.34.0
- @pandacss/parser@0.34.0
- @pandacss/logger@0.34.0
- @pandacss/extractor@0.34.0
- @pandacss/shared@0.34.0
- 1968da5: Allow dynamically recording profiling session by pressing the
p
key in your terminal when using the--cpu-prof
flag for long-running sessions (with-w
or--watch
forpanda
/panda cssgen
/panda codegen
). - Updated dependencies [34d94cf]
- Updated dependencies [4736057]
- Updated dependencies [e855c64]
- Updated dependencies [8feeb95]
- Updated dependencies [5a205e7]
- Updated dependencies [cca50d5]
- Updated dependencies [fde37d8]
- @pandacss/token-dictionary@0.33.0
- @pandacss/generator@0.33.0
- @pandacss/core@0.33.0
- @pandacss/config@0.33.0
- @pandacss/types@0.33.0
- @pandacss/parser@0.33.0
- @pandacss/logger@0.33.0
- @pandacss/extractor@0.33.0
- @pandacss/shared@0.33.0
- 89ffb6b: Add missing config dependencies for some
styled-system/types
files - Updated dependencies [a032375]
- Updated dependencies [31071ba]
- Updated dependencies [5184771]
- Updated dependencies [f419993]
- Updated dependencies [6d8c884]
- Updated dependencies [89ffb6b]
- @pandacss/generator@0.32.1
- @pandacss/config@0.32.1
- @pandacss/types@0.32.1
- @pandacss/core@0.32.1
- @pandacss/parser@0.32.1
- @pandacss/token-dictionary@0.32.1
- @pandacss/logger@0.32.1
- @pandacss/extractor@0.32.1
- @pandacss/shared@0.32.1
-
de4d9ef: Allow
config.hooks
to be shared inplugins
For hooks that can transform Panda's internal state by returning something (like
cssgen:done
andcodegen:prepare
), each hook instance will be called sequentially and the return result (if any) of the previous hook call is passed to the next hook so that they can be chained together.
- Updated dependencies [433a364]
- Updated dependencies [7e70b6b]
- Updated dependencies [8cd8c19]
- Updated dependencies [60cace3]
- Updated dependencies [de4d9ef]
- Updated dependencies [b32d817]
- @pandacss/core@0.32.0
- @pandacss/extractor@0.32.0
- @pandacss/shared@0.32.0
- @pandacss/generator@0.32.0
- @pandacss/types@0.32.0
- @pandacss/config@0.32.0
- @pandacss/parser@0.32.0
- @pandacss/token-dictionary@0.32.0
- @pandacss/logger@0.32.0
-
f0296249: - Sort the longhand/shorthand atomic rules in a deterministic order to prevent property conflicts
- Automatically merge the
base
object in thecss
root styles in the runtime - This may be a breaking change depending on how your styles are created
Ex:
css({ padding: '1px', paddingTop: '3px', paddingBottom: '4px', })
Will now always generate the following css:
@layer utilities { .p_1px { padding: 1px; } .pt_3px { padding-top: 3px; } .pb_4px { padding-bottom: 4px; } }
- Automatically merge the
- 2d69b340: Fix
styled
factory nested composition withcva
- ddeda8ac: Add missing log with the
panda -w
CLI, exposeresolveConfig
from@pandacss/config
- Updated dependencies [8f36f9af]
- Updated dependencies [f0296249]
- Updated dependencies [e2ad0eed]
- Updated dependencies [a17fe387]
- Updated dependencies [2d69b340]
- Updated dependencies [ddeda8ac]
- @pandacss/generator@0.31.0
- @pandacss/types@0.31.0
- @pandacss/config@0.31.0
- @pandacss/parser@0.31.0
- @pandacss/shared@0.31.0
- @pandacss/core@0.31.0
- @pandacss/logger@0.31.0
- @pandacss/token-dictionary@0.31.0
- @pandacss/extractor@0.31.0
- Updated dependencies [97efdb43]
- Updated dependencies [7233cd2e]
- Updated dependencies [6b829cab]
- @pandacss/generator@0.30.2
- @pandacss/parser@0.30.2
- @pandacss/types@0.30.2
- @pandacss/core@0.30.2
- @pandacss/config@0.30.2
- @pandacss/logger@0.30.2
- @pandacss/token-dictionary@0.30.2
- @pandacss/extractor@0.30.2
- @pandacss/shared@0.30.2
- Updated dependencies [ffe177fd]
- @pandacss/config@0.30.1
- @pandacss/parser@0.30.1
- @pandacss/core@0.30.1
- @pandacss/extractor@0.30.1
- @pandacss/generator@0.30.1
- @pandacss/logger@0.30.1
- @pandacss/shared@0.30.1
- @pandacss/token-dictionary@0.30.1
- @pandacss/types@0.30.1
-
05686b9d: Refactor the
--cpu-prof
profiler to use thenode:inspector
instead of relying on an external module (v8-profiler-next
, which requirednode-gyp
) -
ab32d1d7: Introduce 3 new hooks:
This hook is called when the token engine has been created. You can use this hook to add your format token names and variables.
This is especially useful when migrating from other css-in-js libraries, like Stitches.
export default defineConfig({ // ... hooks: { 'tokens:created': ({ configure }) => { configure({ formatTokenName: (path) => '
- a5c75607: Fix an issue (introduced in v0.29) with
panda init
and add an assert on the newcolorMix
utility function - Updated dependencies [a5c75607]
- @pandacss/core@0.29.1
- @pandacss/generator@0.29.1
- @pandacss/parser@0.29.1
- @pandacss/config@0.29.1
- @pandacss/extractor@0.29.1
- @pandacss/logger@0.29.1
- @pandacss/shared@0.29.1
- @pandacss/token-dictionary@0.29.1
- @pandacss/types@0.29.1
-
a2fb5cc6: - Add support for explicitly specifying config related files that should trigger a context reload on change.
We automatically track the config file and (transitive) files imported by the config file as much as possible, but sometimes we might miss some. You can use this option as a workaround for those edge cases.
Set the
dependencies
option inpanda.config.ts
to a glob or list of files.export default defineConfig({ // ... dependencies: ['path/to/files/**.ts'], })
-
Invoke
config:change
hook in more situations (when the--watch
flag is passed topanda codegen
,panda cssgen
,panda ship
) -
Watch for more config options paths changes, so that the related artifacts will be regenerated a bit more reliably (ex: updating the
config.hooks
will now trigger a full regeneration ofstyled-system
)
-
- Updated dependencies [5fcdeb75]
- Updated dependencies [7c7340ec]
- Updated dependencies [f778d3e5]
- Updated dependencies [2e32794d]
- Updated dependencies [ea3f5548]
- Updated dependencies [250b4d11]
- Updated dependencies [a2fb5cc6]
- @pandacss/types@0.29.0
- @pandacss/core@0.29.0
- @pandacss/token-dictionary@0.29.0
- @pandacss/parser@0.29.0
- @pandacss/generator@0.29.0
- @pandacss/config@0.29.0
- @pandacss/extractor@0.29.0
- @pandacss/logger@0.29.0
- @pandacss/shared@0.29.0
-
f58f6df2: Refactor
config.hooks
to be much more powerful, you can now:- Tweak the config after it has been resolved (after presets are loaded and merged), this could be used to dynamically
load all
recipes
from a folder - Transform a source file's content before parsing it, this could be used to transform the file content to a
tsx
-friendly syntax so that Panda's parser can parse it. - Implement your own parser logic and add the extracted results to the classic Panda pipeline, this could be used to parse style usage from any template language
- Tweak the CSS content for any
@layer
or even right before it's written to disk (if using the CLI) or injected through the postcss plugin, allowing all kinds of customizations like removing the unused CSS variables, etc. - React to any config change or after the codegen step (your outdir, the
styled-system
folder) have been generated
See the list of available
config.hooks
here:export interface PandaHooks { /** * Called when the config is resolved, after all the presets are loaded and merged. * This is the first hook called, you can use it to tweak the config before the context is created. */ 'config:resolved': (args: { conf: LoadConfigResult }) => MaybeAsyncReturn /** * Called when the Panda context has been created and the API is ready to be used. */ 'context:created': (args: { ctx: ApiInterface; logger: LoggerInterface }) => void /** * Called when the config file or one of its dependencies (imports) has changed. */ 'config:change': (args: { config: UserConfig }) => MaybeAsyncReturn /** * Called after reading the file content but before parsing it. * You can use this hook to transform the file content to a tsx-friendly syntax so that Panda's parser can parse it. * You can also use this hook to parse the file's content on your side using a custom parser, in this case you don't have to return anything. */ 'parser:before': (args: { filePath: string; content: string }) => string | void /** * Called after the file styles are extracted and processed into the resulting ParserResult object. * You can also use this hook to add your own extraction results from your custom parser to the ParserResult object. */ 'parser:after': (args: { filePath: string; result: ParserResultInterface | undefined }) => void /** * Called after the codegen is completed */ 'codegen:done': () => MaybeAsyncReturn /** * Called right before adding the design-system CSS (global, static, preflight, tokens, keyframes) to the final CSS * Called right before writing/injecting the final CSS (styles.css) that contains the design-system CSS and the parser CSS * You can use it to tweak the CSS content before it's written to disk or injected through the postcss plugin. */ 'cssgen:done': (args: { artifact: 'global' | 'static' | 'reset' | 'tokens' | 'keyframes' | 'styles.css' content: string }) => string | void }
- Tweak the config after it has been resolved (after presets are loaded and merged), this could be used to dynamically
load all
-
f255342f: Add a
--cpu-prof
flag topanda
,panda cssgen
,panda codegen
andpanda debug
commands This is useful for debugging performance issues inpanda
itself. This will generate apanda-{command}-{timestamp}.cpuprofile
file in the current working directory, which can be opened in tools like SpeedscopeThis is mostly intended for maintainers or can be asked by maintainers to help debug issues.
-
Updated dependencies [f58f6df2]
-
Updated dependencies [e463ce0e]
-
Updated dependencies [77cab9fe]
-
Updated dependencies [770c7aa4]
-
Updated dependencies [1edadf30]
-
Updated dependencies [d4fa5de9]
-
Updated dependencies [9d000dcd]
-
Updated dependencies [6d7e7b07]
- @pandacss/generator@0.28.0
- @pandacss/config@0.28.0
- @pandacss/parser@0.28.0
- @pandacss/types@0.28.0
- @pandacss/core@0.28.0
- @pandacss/shared@0.28.0
- @pandacss/token-dictionary@0.28.0
- @pandacss/error@0.28.0
- @pandacss/extractor@0.28.0
- @pandacss/logger@0.28.0
- 1ed4df77: Fix issue where HMR doesn't work when tsconfig paths is used.
- 39d10c79: Fix
prettier
parser warning in panda config setup. - Updated dependencies [1ed4df77]
- @pandacss/types@0.27.3
- @pandacss/core@0.27.3
- @pandacss/config@0.27.3
- @pandacss/generator@0.27.3
- @pandacss/parser@0.27.3
- @pandacss/token-dictionary@0.27.3
- @pandacss/error@0.27.3
- @pandacss/extractor@0.27.3
- @pandacss/logger@0.27.3
- @pandacss/shared@0.27.3
- bfa8b1ee: Switch back to
node:path
frompathe
to resolve issues with windows path in PostCSS + Webpack set up- @pandacss/config@0.27.2
- @pandacss/core@0.27.2
- @pandacss/error@0.27.2
- @pandacss/extractor@0.27.2
- @pandacss/generator@0.27.2
- @pandacss/logger@0.27.2
- @pandacss/parser@0.27.2
- @pandacss/shared@0.27.2
- @pandacss/token-dictionary@0.27.2
- @pandacss/types@0.27.2
- ee9341db: Fix issue in windows environments where HMR doesn't work in webpack projects.
- Updated dependencies [ee9341db]
- @pandacss/types@0.27.1
- @pandacss/config@0.27.1
- @pandacss/core@0.27.1
- @pandacss/generator@0.27.1
- @pandacss/parser@0.27.1
- @pandacss/token-dictionary@0.27.1
- @pandacss/error@0.27.1
- @pandacss/extractor@0.27.1
- @pandacss/logger@0.27.1
- @pandacss/shared@0.27.1
-
84304901: Improve performance, mostly for the CSS generation by removing a lot of
postcss
usage (and plugins).- Introduce a new
config.lightningcss
option to uselightningcss
(currently disabled by default) instead ofpostcss
. - Add a new
config.browserslist
option to configure the browserslist used bylightningcss
. - Add a
--lightningcss
flag to thepanda
andpanda cssgen
command to uselightningcss
instead ofpostcss
for this run.
markImportant
fn from JS instead of walking through postcss AST nodes- use a fork of
stitches
stringify
function instead ofpostcss-css-in-js
to write the CSS string from a JS object - only compute once
TokenDictionary
properties - refactor
serializeStyle
to use the same code path as the rest of the pipeline withStyleEncoder
/StyleDecoder
and rename it totransformStyles
to better convey what it does
- Introduce a new
- Updated dependencies [dce0b3b2]
- Updated dependencies [84304901]
- Updated dependencies [bee3ec85]
- Updated dependencies [74ac0d9d]
- Updated dependencies [c9195a4e]
- @pandacss/generator@0.27.0
- @pandacss/token-dictionary@0.27.0
- @pandacss/extractor@0.27.0
- @pandacss/config@0.27.0
- @pandacss/logger@0.27.0
- @pandacss/parser@0.27.0
- @pandacss/shared@0.27.0
- @pandacss/error@0.27.0
- @pandacss/types@0.27.0
- @pandacss/core@0.27.0
- @pandacss/config@0.26.2
- @pandacss/parser@0.26.2
- @pandacss/core@0.26.2
- @pandacss/error@0.26.2
- @pandacss/extractor@0.26.2
- @pandacss/generator@0.26.2
- @pandacss/logger@0.26.2
- @pandacss/shared@0.26.2
- @pandacss/token-dictionary@0.26.2
- @pandacss/types@0.26.2
- Updated dependencies [6de4c737]
- @pandacss/generator@0.26.1
- @pandacss/parser@0.26.1
- @pandacss/config@0.26.1
- @pandacss/core@0.26.1
- @pandacss/error@0.26.1
- @pandacss/extractor@0.26.1
- @pandacss/logger@0.26.1
- @pandacss/shared@0.26.1
- @pandacss/token-dictionary@0.26.1
- @pandacss/types@0.26.1
- 1bd7fbb7: Fix
@pandacss/postcss
plugin regression when the entry CSS file (with@layer
rules order) contains user-defined rules, those user-defined rules would not be reloaded correctly after being changed.
-
1bd7fbb7: Fix an edge-case for when the
config.outdir
would not be set in thepanda.config
Internal details: The
outdir
would not have any value after a config change due to the fallback being set in the initial config resolving code path but not in context reloading code path, moving it inside the config loading function fixes this issue. -
Updated dependencies [a179d74f]
-
Updated dependencies [657ca5da]
-
Updated dependencies [b5cf6ee6]
-
Updated dependencies [58df7d74]
-
Updated dependencies [14033e00]
-
Updated dependencies [1bd7fbb7]
-
Updated dependencies [d420c676]
- @pandacss/generator@0.26.0
- @pandacss/shared@0.26.0
- @pandacss/types@0.26.0
- @pandacss/core@0.26.0
- @pandacss/config@0.26.0
- @pandacss/parser@0.26.0
- @pandacss/token-dictionary@0.26.0
- @pandacss/error@0.26.0
- @pandacss/extractor@0.26.0
- @pandacss/logger@0.26.0
- bc154358: Fix config dependencies detection by re-introducing the file tracing utility
- Updated dependencies [59fd291c]
- Updated dependencies [de282f60]
- Updated dependencies [de282f60]
- @pandacss/generator@0.25.0
- @pandacss/types@0.25.0
- @pandacss/core@0.25.0
- @pandacss/token-dictionary@0.25.0
- @pandacss/parser@0.25.0
- @pandacss/config@0.25.0
- @pandacss/error@0.25.0
- @pandacss/extractor@0.25.0
- @pandacss/logger@0.25.0
- @pandacss/shared@0.25.0
- Updated dependencies [71e82a4e]
- Updated dependencies [61ebf3d2]
- @pandacss/shared@0.24.2
- @pandacss/types@0.24.2
- @pandacss/core@0.24.2
- @pandacss/config@0.24.2
- @pandacss/generator@0.24.2
- @pandacss/parser@0.24.2
- @pandacss/token-dictionary@0.24.2
- @pandacss/error@0.24.2
- @pandacss/extractor@0.24.2
- @pandacss/logger@0.24.2
- 10e74428: - Fix an issue with the
@pandacss/postcss
(and therefore@pandacss/astro
) where the initial @layer CSS wasn't applied correctly- Fix an issue with
staticCss
where it was only generated when it was included in the config (we can generate it through the config recipes)
- Fix an issue with
- Updated dependencies [10e74428]
- @pandacss/generator@0.24.1
- @pandacss/parser@0.24.1
- @pandacss/config@0.24.1
- @pandacss/core@0.24.1
- @pandacss/error@0.24.1
- @pandacss/extractor@0.24.1
- @pandacss/logger@0.24.1
- @pandacss/shared@0.24.1
- @pandacss/token-dictionary@0.24.1
- @pandacss/types@0.24.1
- 63b3f1f2: - Boost style extraction performance by moving more work away from postcss
- Using a hashing strategy, the compiler only computes styles/classname once per style object and prop-value-condition pair
- Fix regression in previous implementation that increased memory usage per extraction, leading to slower performance over time
- Updated dependencies [63b3f1f2]
- Updated dependencies [f6881022]
- @pandacss/core@0.24.0
- @pandacss/generator@0.24.0
- @pandacss/parser@0.24.0
- @pandacss/types@0.24.0
- @pandacss/config@0.24.0
- @pandacss/token-dictionary@0.24.0
- @pandacss/error@0.24.0
- @pandacss/extractor@0.24.0
- @pandacss/logger@0.24.0
- @pandacss/shared@0.24.0
- 1ea7459c: Fix performance issue where process could get slower due to postcss rules held in memory.
- 383b6d1b: Fix an issue with the postcss plugin when a config change sometimes didn't trigger files extraction
- 840ed66b: Fix an issue with config change detection when using a custom
config.slotRecipes[xxx].jsx
array - Updated dependencies [d30b1737]
- Updated dependencies [1ea7459c]
- Updated dependencies [80ada336]
- Updated dependencies [b01eb049]
- Updated dependencies [a3b6ed5f]
- Updated dependencies [bd552b1f]
- Updated dependencies [840ed66b]
- @pandacss/generator@0.23.0
- @pandacss/core@0.23.0
- @pandacss/parser@0.23.0
- @pandacss/logger@0.23.0
- @pandacss/config@0.23.0
- @pandacss/error@0.23.0
- @pandacss/extractor@0.23.0
- @pandacss/is-valid-prop@0.23.0
- @pandacss/shared@0.23.0
- @pandacss/token-dictionary@0.23.0
- @pandacss/types@0.23.0
- Updated dependencies [8f4ce97c]
- Updated dependencies [647f05c9]
- Updated dependencies [647f05c9]
- @pandacss/generator@0.22.1
- @pandacss/types@0.22.1
- @pandacss/parser@0.22.1
- @pandacss/shared@0.22.1
- @pandacss/config@0.22.1
- @pandacss/core@0.22.1
- @pandacss/token-dictionary@0.22.1
- @pandacss/error@0.22.1
- @pandacss/extractor@0.22.1
- @pandacss/is-valid-prop@0.22.1
- @pandacss/logger@0.22.1
-
a2f6c2c8: Fix potential cross-platform issues with path resolving by using
pathe
instead ofpath
-
11753fea: Improve initial css extraction time by at least 5x 🚀
Initial extraction time can get slow when using static CSS with lots of recipes or parsing a lot of files.
Scenarios
- Park UI went from 3500ms to 580ms (6x faster)
- Panda Website went from 2900ms to 208ms (14x faster)
Potential Breaking Change
If you use
hooks
in yourpanda.config
file to listen for when css is extracted, we no longer return thecss
string for performance reasons. We might reconsider this in the future. -
Updated dependencies [526c6e34]
-
Updated dependencies [8db47ec6]
-
Updated dependencies [9c0d3f8f]
-
Updated dependencies [11753fea]
-
Updated dependencies [c95c40bd]
-
Updated dependencies [e83afef0]
- @pandacss/types@0.22.0
- @pandacss/generator@0.22.0
- @pandacss/shared@0.22.0
- @pandacss/core@0.22.0
- @pandacss/config@0.22.0
- @pandacss/parser@0.22.0
- @pandacss/token-dictionary@0.22.0
- @pandacss/error@0.22.0
- @pandacss/extractor@0.22.0
- @pandacss/is-valid-prop@0.22.0
- @pandacss/logger@0.22.0
-
7f846be2: Add
configPath
andcwd
options in the@pandacss/astro
integration just like in the@pandacss/postcss
This can be useful with Nx monorepos where the
panda.config.ts
is not in the root of the project. -
Updated dependencies [1464460f]
-
Updated dependencies [788aaba3]
-
Updated dependencies [26e6051a]
-
Updated dependencies [5b061615]
-
Updated dependencies [d81dcbe6]
-
Updated dependencies [105f74ce]
-
Updated dependencies [052283c2]
- @pandacss/extractor@0.21.0
- @pandacss/core@0.21.0
- @pandacss/generator@0.21.0
- @pandacss/shared@0.21.0
- @pandacss/types@0.21.0
- @pandacss/parser@0.21.0
- @pandacss/config@0.21.0
- @pandacss/token-dictionary@0.21.0
- @pandacss/error@0.21.0
- @pandacss/is-valid-prop@0.21.0
- @pandacss/logger@0.21.0
- @pandacss/config@0.20.1
- @pandacss/parser@0.20.1
- @pandacss/core@0.20.1
- @pandacss/generator@0.20.1
- @pandacss/token-dictionary@0.20.1
- @pandacss/error@0.20.1
- @pandacss/extractor@0.20.1
- @pandacss/is-valid-prop@0.20.1
- @pandacss/logger@0.20.1
- @pandacss/shared@0.20.1
- @pandacss/types@0.20.1
- 24ee49a5: - Add support for granular config change detection
- Improve the
codegen
experience by only rewriting files affecteds by a config change
- Improve the
- Updated dependencies [e4fdc64a]
- Updated dependencies [24ee49a5]
- Updated dependencies [4ba982f3]
- Updated dependencies [904aec7b]
- @pandacss/generator@0.20.0
- @pandacss/config@0.20.0
- @pandacss/parser@0.20.0
- @pandacss/types@0.20.0
- @pandacss/core@0.20.0
- @pandacss/token-dictionary@0.20.0
- @pandacss/error@0.20.0
- @pandacss/extractor@0.20.0
- @pandacss/is-valid-prop@0.20.0
- @pandacss/logger@0.20.0
- @pandacss/shared@0.20.0
- Updated dependencies [61831040]
- Updated dependencies [92a7fbe5]
- Updated dependencies [89f86923]
- Updated dependencies [402afbee]
- Updated dependencies [9f5711f9]
- @pandacss/generator@0.19.0
- @pandacss/types@0.19.0
- @pandacss/core@0.19.0
- @pandacss/parser@0.19.0
- @pandacss/config@0.19.0
- @pandacss/token-dictionary@0.19.0
- @pandacss/error@0.19.0
- @pandacss/extractor@0.19.0
- @pandacss/is-valid-prop@0.19.0
- @pandacss/logger@0.19.0
- @pandacss/shared@0.19.0
- Updated dependencies [78b940b2]
- @pandacss/generator@0.18.3
- @pandacss/parser@0.18.3
- @pandacss/config@0.18.3
- @pandacss/core@0.18.3
- @pandacss/error@0.18.3
- @pandacss/extractor@0.18.3
- @pandacss/is-valid-prop@0.18.3
- @pandacss/logger@0.18.3
- @pandacss/shared@0.18.3
- @pandacss/token-dictionary@0.18.3
- @pandacss/types@0.18.3
- @pandacss/config@0.18.2
- @pandacss/parser@0.18.2
- @pandacss/core@0.18.2
- @pandacss/generator@0.18.2
- @pandacss/token-dictionary@0.18.2
- @pandacss/error@0.18.2
- @pandacss/extractor@0.18.2
- @pandacss/is-valid-prop@0.18.2
- @pandacss/logger@0.18.2
- @pandacss/shared@0.18.2
- @pandacss/types@0.18.2
- Updated dependencies [566fd28a]
- Updated dependencies [43bfa510]
- Updated dependencies [8c76cd0f]
- @pandacss/token-dictionary@0.18.1
- @pandacss/generator@0.18.1
- @pandacss/core@0.18.1
- @pandacss/config@0.18.1
- @pandacss/parser@0.18.1
- @pandacss/error@0.18.1
- @pandacss/extractor@0.18.1
- @pandacss/is-valid-prop@0.18.1
- @pandacss/logger@0.18.1
- @pandacss/shared@0.18.1
- @pandacss/types@0.18.1
- 3010af28: Add a
--only-config
flag for thepanda debug
command, to skip writing app files and just output the resolved config. - 866c12aa: Fix CLI interactive mode
syntax
question values and prettify the generatedpanda.config.ts
file - Updated dependencies [ba9e32fa]
- Updated dependencies [b7cb2073]
- Updated dependencies [336fd0b0]
- @pandacss/generator@0.18.0
- @pandacss/shared@0.18.0
- @pandacss/extractor@0.18.0
- @pandacss/parser@0.18.0
- @pandacss/core@0.18.0
- @pandacss/token-dictionary@0.18.0
- @pandacss/types@0.18.0
- @pandacss/config@0.18.0
- @pandacss/error@0.18.0
- @pandacss/is-valid-prop@0.18.0
- @pandacss/logger@0.18.0
- 17f68b3f: Ensure dir exists before writing file for the
panda cssgen
/panda ship
/panda analyze
commands when specifying an outfile. - Updated dependencies [6718f81b]
- Updated dependencies [a6dfc944]
- Updated dependencies [3ce70c37]
- @pandacss/generator@0.17.5
- @pandacss/core@0.17.5
- @pandacss/parser@0.17.5
- @pandacss/config@0.17.5
- @pandacss/error@0.17.5
- @pandacss/extractor@0.17.5
- @pandacss/is-valid-prop@0.17.5
- @pandacss/logger@0.17.5
- @pandacss/shared@0.17.5
- @pandacss/token-dictionary@0.17.5
- @pandacss/types@0.17.5
- Updated dependencies [fa77080a]
- @pandacss/types@0.17.4
- @pandacss/config@0.17.4
- @pandacss/core@0.17.4
- @pandacss/generator@0.17.4
- @pandacss/parser@0.17.4
- @pandacss/token-dictionary@0.17.4
- @pandacss/error@0.17.4
- @pandacss/extractor@0.17.4
- @pandacss/is-valid-prop@0.17.4
- @pandacss/logger@0.17.4
- @pandacss/shared@0.17.4
- 60f2c8a3: Fix issue in studio command where
fs-extra
imports could not be resolved. - Updated dependencies [529a262e]
- @pandacss/types@0.17.3
- @pandacss/config@0.17.3
- @pandacss/core@0.17.3
- @pandacss/generator@0.17.3
- @pandacss/parser@0.17.3
- @pandacss/token-dictionary@0.17.3
- @pandacss/error@0.17.3
- @pandacss/extractor@0.17.3
- @pandacss/is-valid-prop@0.17.3
- @pandacss/logger@0.17.3
- @pandacss/shared@0.17.3
- @pandacss/config@0.17.2
- @pandacss/core@0.17.2
- @pandacss/error@0.17.2
- @pandacss/extractor@0.17.2
- @pandacss/generator@0.17.2
- @pandacss/is-valid-prop@0.17.2
- @pandacss/logger@0.17.2
- @pandacss/parser@0.17.2
- @pandacss/shared@0.17.2
- @pandacss/token-dictionary@0.17.2
- @pandacss/types@0.17.2
- 56299cb2: Fix persistent error that causes CI builds to fail due to PostCSS plugin emitting artifacts in the middle of a build process.
- ddcaf7b2: Fix issue where FileSystem writes cause intermittent errors in different build contexts (Vercel, Docker).
This was solved by limiting the concurrency using the
p-limit
library - Updated dependencies [296d62b1]
- Updated dependencies [42520626]
- Updated dependencies [7b981422]
- Updated dependencies [9382e687]
- Updated dependencies [aea28c9f]
- Updated dependencies [a76b279e]
- Updated dependencies [5ce359f6]
- @pandacss/generator@0.17.1
- @pandacss/core@0.17.1
- @pandacss/extractor@0.17.1
- @pandacss/shared@0.17.1
- @pandacss/parser@0.17.1
- @pandacss/types@0.17.1
- @pandacss/token-dictionary@0.17.1
- @pandacss/config@0.17.1
- @pandacss/error@0.17.1
- @pandacss/is-valid-prop@0.17.1
- @pandacss/logger@0.17.1
-
12281ff8: Improve support for styled element composition. This ensures that you can compose two styled elements together and the styles will be merged correctly.
const Box = styled('div', { base: { background: 'red.light', color: 'white', }, }) const ExtendedBox = styled(Box, { base: { background: 'red.dark' }, }) // <ExtendedBox> will have a background of `red.dark` and a color of `white`
Limitation: This feature does not allow compose mixed styled composition. A mixed styled composition happens when an element is created from a cva/inline cva, and another created from a config recipe.
- CVA or Inline CVA + CVA or Inline CVA = ✅
- Config Recipe + Config Recipe = ✅
- CVA or Inline CVA + Config Recipe = ❌
import { button } from '../styled-system/recipes' const Button = styled('div', button) // ❌ This will throw an error const ExtendedButton = styled(Button, { base: { background: 'red.dark' }, })
-
dd6811b3: Apply
config.logLevel
from the Panda config to the logger in every context.Fixes chakra-ui#1451
-
Updated dependencies [93996aaf]
-
Updated dependencies [12281ff8]
-
Updated dependencies [fc4688e6]
-
Updated dependencies [e73ea803]
-
Updated dependencies [fbf062c6]
- @pandacss/generator@0.17.0
- @pandacss/shared@0.17.0
- @pandacss/types@0.17.0
- @pandacss/core@0.17.0
- @pandacss/parser@0.17.0
- @pandacss/token-dictionary@0.17.0
- @pandacss/config@0.17.0
- @pandacss/error@0.17.0
- @pandacss/extractor@0.17.0
- @pandacss/is-valid-prop@0.17.0
- @pandacss/logger@0.17.0
-
36252b1d: ## --minimal flag
Adds a new
--minimal
flag for the CLI on thepanda cssgen
command to skip generating CSS for theme tokens, preflightkeyframes, static and global cssThich means that the generated CSS will only contain the CSS related to the styles found in the included files.
Note that you can use a
glob
to override theconfig.include
option like this:panda cssgen "src/**/*.css" --minimal
This is useful when you want to split your CSS into multiple files, for example if you want to split by pages.
Use it like this:
panda cssgen "src/**/pages/*.css" --minimal --outfile dist/pages.css
In addition to the optional
glob
that you can already pass to override the config.include option, thepanda cssgen
command now accepts a new{type}
argument to generate only a specific type of CSS:- preflight
- tokens
- static
- global
- keyframes
Note that this only works when passing an
--outfile
.You can use it like this:
panda cssgen "static" --outfile dist/static.css
- 20f4e204: Apply a few optmizations on the resulting CSS generated from
panda cssgen
command - Updated dependencies [2b5cbf73]
- Updated dependencies [20f4e204]
- Updated dependencies [36252b1d]
- @pandacss/generator@0.16.0
- @pandacss/core@0.16.0
- @pandacss/parser@0.16.0
- @pandacss/config@0.16.0
- @pandacss/token-dictionary@0.16.0
- @pandacss/error@0.16.0
- @pandacss/extractor@0.16.0
- @pandacss/is-valid-prop@0.16.0
- @pandacss/logger@0.16.0
- @pandacss/shared@0.16.0
- @pandacss/types@0.16.0
- 909fcbe8: - Fix issue with
Promise.all
where it aborts premature ine weird events. Switched toPromise.allSettled
- Updated dependencies [d12aed2b]
- Updated dependencies [909fcbe8]
- Updated dependencies [3d5971e5]
- @pandacss/generator@0.15.5
- @pandacss/parser@0.15.5
- @pandacss/config@0.15.5
- @pandacss/core@0.15.5
- @pandacss/error@0.15.5
- @pandacss/extractor@0.15.5
- @pandacss/is-valid-prop@0.15.5
- @pandacss/logger@0.15.5
- @pandacss/shared@0.15.5
- @pandacss/token-dictionary@0.15.5
- @pandacss/types@0.15.5
- Updated dependencies [abd7c47a]
- Updated dependencies [bf0e6a30]
- Updated dependencies [69699ba4]
- Updated dependencies [3a04a927]
- @pandacss/config@0.15.4
- @pandacss/generator@0.15.4
- @pandacss/parser@0.15.4
- @pandacss/extractor@0.15.4
- @pandacss/types@0.15.4
- @pandacss/core@0.15.4
- @pandacss/error@0.15.4
- @pandacss/is-valid-prop@0.15.4
- @pandacss/logger@0.15.4
- @pandacss/shared@0.15.4
- @pandacss/token-dictionary@0.15.4
- Updated dependencies [d34c8b48]
- Updated dependencies [95b06bb1]
- Updated dependencies [1ac2011b]
- Updated dependencies [58743bc4]
- Updated dependencies [1eb31118]
- @pandacss/generator@0.15.3
- @pandacss/shared@0.15.3
- @pandacss/core@0.15.3
- @pandacss/parser@0.15.3
- @pandacss/types@0.15.3
- @pandacss/token-dictionary@0.15.3
- @pandacss/config@0.15.3
- @pandacss/error@0.15.3
- @pandacss/extractor@0.15.3
- @pandacss/is-valid-prop@0.15.3
- @pandacss/logger@0.15.3
- f3c30d60: Update supported panda config extensions
- Updated dependencies [6d15776c]
- Updated dependencies [26a788c0]
- Updated dependencies [2645c2da]
- @pandacss/generator@0.15.2
- @pandacss/types@0.15.2
- @pandacss/config@0.15.2
- @pandacss/parser@0.15.2
- @pandacss/core@0.15.2
- @pandacss/token-dictionary@0.15.2
- @pandacss/error@0.15.2
- @pandacss/extractor@0.15.2
- @pandacss/is-valid-prop@0.15.2
- @pandacss/logger@0.15.2
- @pandacss/shared@0.15.2
- Updated dependencies [7e8bcb03]
- Updated dependencies [848936e0]
- Updated dependencies [433f88cd]
- Updated dependencies [c40ae1b9]
- Updated dependencies [26f6982c]
- Updated dependencies [4e003bfb]
- Updated dependencies [7499bbd2]
- @pandacss/generator@0.15.1
- @pandacss/core@0.15.1
- @pandacss/extractor@0.15.1
- @pandacss/parser@0.15.1
- @pandacss/shared@0.15.1
- @pandacss/token-dictionary@0.15.1
- @pandacss/types@0.15.1
- @pandacss/config@0.15.1
- @pandacss/error@0.15.1
- @pandacss/is-valid-prop@0.15.1
- @pandacss/logger@0.15.1
- 39298609: Make the types suggestion faster (updated
DeepPartial
) - Updated dependencies [be24d1a0]
- Updated dependencies [4bc515ea]
- Updated dependencies [9f429d35]
- Updated dependencies [93d9ee7e]
- Updated dependencies [bc3b077d]
- Updated dependencies [35793d85]
- Updated dependencies [39298609]
- Updated dependencies [dd47b6e6]
- Updated dependencies [7c1ab170]
- Updated dependencies [f27146d6]
- @pandacss/extractor@0.15.0
- @pandacss/types@0.15.0
- @pandacss/generator@0.15.0
- @pandacss/shared@0.15.0
- @pandacss/core@0.15.0
- @pandacss/parser@0.15.0
- @pandacss/config@0.15.0
- @pandacss/token-dictionary@0.15.0
- @pandacss/error@0.15.0
- @pandacss/is-valid-prop@0.15.0
- @pandacss/logger@0.15.0
- 8106b411: Add
generator:done
hook to perform actions when codegen artifacts are emitted.
- Updated dependencies [b1c31fdd]
- Updated dependencies [bdd30d18]
- Updated dependencies [bff17df2]
- Updated dependencies [6548f4f7]
- Updated dependencies [8106b411]
- Updated dependencies [9e799554]
- Updated dependencies [e6459a59]
- Updated dependencies [6f7ee198]
- Updated dependencies [623e321f]
- Updated dependencies [542d1ebc]
- Updated dependencies [39b20797]
- Updated dependencies [02161d41]
- @pandacss/token-dictionary@0.14.0
- @pandacss/generator@0.14.0
- @pandacss/types@0.14.0
- @pandacss/core@0.14.0
- @pandacss/parser@0.14.0
- @pandacss/config@0.14.0
- @pandacss/error@0.14.0
- @pandacss/extractor@0.14.0
- @pandacss/is-valid-prop@0.14.0
- @pandacss/logger@0.14.0
- @pandacss/shared@0.14.0
- Updated dependencies [a5d7d514]
- Updated dependencies [577dcb9d]
- Updated dependencies [192d5e49]
- Updated dependencies [d0fbc7cc]
- @pandacss/generator@0.13.1
- @pandacss/parser@0.13.1
- @pandacss/error@0.13.1
- @pandacss/config@0.13.1
- @pandacss/core@0.13.1
- @pandacss/extractor@0.13.1
- @pandacss/is-valid-prop@0.13.1
- @pandacss/logger@0.13.1
- @pandacss/shared@0.13.1
- @pandacss/token-dictionary@0.13.1
- @pandacss/types@0.13.1
- Updated dependencies [04b5fd6c]
- Updated dependencies [a9690110]
- Updated dependencies [32ceac3f]
- @pandacss/core@0.13.0
- @pandacss/generator@0.13.0
- @pandacss/parser@0.13.0
- @pandacss/config@0.13.0
- @pandacss/error@0.13.0
- @pandacss/extractor@0.13.0
- @pandacss/is-valid-prop@0.13.0
- @pandacss/logger@0.13.0
- @pandacss/shared@0.13.0
- @pandacss/token-dictionary@0.13.0
- @pandacss/types@0.13.0
- Updated dependencies [6588c8e0]
- Updated dependencies [36fdff89]
- @pandacss/generator@0.12.2
- @pandacss/parser@0.12.2
- @pandacss/config@0.12.2
- @pandacss/core@0.12.2
- @pandacss/error@0.12.2
- @pandacss/extractor@0.12.2
- @pandacss/is-valid-prop@0.12.2
- @pandacss/logger@0.12.2
- @pandacss/shared@0.12.2
- @pandacss/token-dictionary@0.12.2
- @pandacss/types@0.12.2
- Updated dependencies [599fbc1a]
- @pandacss/generator@0.12.1
- @pandacss/parser@0.12.1
- @pandacss/config@0.12.1
- @pandacss/core@0.12.1
- @pandacss/error@0.12.1
- @pandacss/extractor@0.12.1
- @pandacss/is-valid-prop@0.12.1
- @pandacss/logger@0.12.1
- @pandacss/shared@0.12.1
- @pandacss/token-dictionary@0.12.1
- @pandacss/types@0.12.1
- Updated dependencies [a41515de]
- Updated dependencies [bf2ff391]
- Updated dependencies [ad1518b8]
- @pandacss/generator@0.12.0
- @pandacss/parser@0.12.0
- @pandacss/config@0.12.0
- @pandacss/core@0.12.0
- @pandacss/token-dictionary@0.12.0
- @pandacss/error@0.12.0
- @pandacss/extractor@0.12.0
- @pandacss/is-valid-prop@0.12.0
- @pandacss/logger@0.12.0
- @pandacss/shared@0.12.0
- @pandacss/types@0.12.0
- 23b516f4: Make layers customizable
- Updated dependencies [c07e1beb]
- Updated dependencies [dfb3f85f]
- Updated dependencies [23b516f4]
- @pandacss/generator@0.11.1
- @pandacss/shared@0.11.1
- @pandacss/is-valid-prop@0.11.1
- @pandacss/types@0.11.1
- @pandacss/core@0.11.1
- @pandacss/parser@0.11.1
- @pandacss/token-dictionary@0.11.1
- @pandacss/config@0.11.1
- @pandacss/error@0.11.1
- @pandacss/extractor@0.11.1
- @pandacss/logger@0.11.1
- cde9702e: Add an optional
glob
argument that overrides the config.include on thepanda cssgen
CLI command. - Updated dependencies [dead08a2]
- Updated dependencies [5b95caf5]
- Updated dependencies [39b80b49]
- Updated dependencies [1dc788bd]
- @pandacss/config@0.11.0
- @pandacss/generator@0.11.0
- @pandacss/types@0.11.0
- @pandacss/parser@0.11.0
- @pandacss/core@0.11.0
- @pandacss/token-dictionary@0.11.0
- @pandacss/error@0.11.0
- @pandacss/extractor@0.11.0
- @pandacss/is-valid-prop@0.11.0
- @pandacss/logger@0.11.0
- @pandacss/shared@0.11.0
- Updated dependencies [24e783b3]
- Updated dependencies [9d4aa918]
- Updated dependencies [2d2a42da]
- Updated dependencies [386e5098]
- Updated dependencies [6d4eaa68]
- Updated dependencies [a669f4d5]
- @pandacss/is-valid-prop@0.10.0
- @pandacss/generator@0.10.0
- @pandacss/shared@0.10.0
- @pandacss/types@0.10.0
- @pandacss/token-dictionary@0.10.0
- @pandacss/core@0.10.0
- @pandacss/parser@0.10.0
- @pandacss/config@0.10.0
- @pandacss/error@0.10.0
- @pandacss/extractor@0.10.0
- @pandacss/logger@0.10.0
- f10e706a: Fix PostCSS edge-case where the config file is not in the app root
- Updated dependencies [c08de87f]
- Updated dependencies [3269b411]
- @pandacss/generator@0.9.0
- @pandacss/parser@0.9.0
- @pandacss/types@0.9.0
- @pandacss/core@0.9.0
- @pandacss/extractor@0.9.0
- @pandacss/config@0.9.0
- @pandacss/token-dictionary@0.9.0
- @pandacss/error@0.9.0
- @pandacss/is-valid-prop@0.9.0
- @pandacss/logger@0.9.0
- @pandacss/shared@0.9.0
- 5d1d376b: Adding missing comma for generated panda config
- be0ad578: Fix parser issue with TS path mappings
- 78612d7f: Fix node evaluation in extractor process (can happen when using a BinaryExpression, simple CallExpression or conditions)
- Updated dependencies [3f1e7e32]
- Updated dependencies [fb449016]
- Updated dependencies [ac078416]
- Updated dependencies [e1f6318a]
- Updated dependencies [be0ad578]
- Updated dependencies [b75905d8]
- Updated dependencies [78612d7f]
- Updated dependencies [9ddf258b]
- Updated dependencies [0520ba83]
- Updated dependencies [156b6bde]
- @pandacss/generator@0.8.0
- @pandacss/core@0.8.0
- @pandacss/extractor@0.8.0
- @pandacss/parser@0.8.0
- @pandacss/token-dictionary@0.8.0
- @pandacss/config@0.8.0
- @pandacss/types@0.8.0
- @pandacss/error@0.8.0
- @pandacss/is-valid-prop@0.8.0
- @pandacss/logger@0.8.0
- @pandacss/shared@0.8.0
- f4bb0576: Fix postcss issue where
@layer reset, base, tokens, recipes, utilities
check was too strict - d8ebaf2f: Fix issue where hot module reloading is inconsistent in the PostCSS plugin when external files are changed
- 4ff7ddea: Fix issue where hot module reloading is inconsistent in the PostCSS plugin when another internal package is changed
- Updated dependencies [16cd3764]
- Updated dependencies [f2abf34d]
- Updated dependencies [f59154fb]
- Updated dependencies [a9c189b7]
- Updated dependencies [7bc69e4b]
- Updated dependencies [1a05c4bb]
- @pandacss/parser@0.7.0
- @pandacss/extractor@0.7.0
- @pandacss/shared@0.7.0
- @pandacss/generator@0.7.0
- @pandacss/types@0.7.0
- @pandacss/config@0.7.0
- @pandacss/core@0.7.0
- @pandacss/token-dictionary@0.7.0
- @pandacss/error@0.7.0
- @pandacss/is-valid-prop@0.7.0
- @pandacss/logger@0.7.0
- 032c152a: Fix issue where
panda cssgen --outfile
doesn't extract files to chunks before bundling them into the css out file - Updated dependencies [cd912f35]
- Updated dependencies [dc4e80f7]
- Updated dependencies [12c900ee]
- Updated dependencies [21295f2e]
- Updated dependencies [5bd88c41]
- Updated dependencies [ef1dd676]
- Updated dependencies [b50675ca]
- @pandacss/generator@0.6.0
- @pandacss/core@0.6.0
- @pandacss/extractor@0.6.0
- @pandacss/parser@0.6.0
- @pandacss/config@0.6.0
- @pandacss/types@0.6.0
- @pandacss/token-dictionary@0.6.0
- @pandacss/error@0.6.0
- @pandacss/is-valid-prop@0.6.0
- @pandacss/logger@0.6.0
- @pandacss/shared@0.6.0
-
5b09ab3b: Add support for
--outfile
flag in thecssgen
command.panda cssgen --outfile dist/styles.css
-
78ed6ed4: Fix issue where using a nested outdir like
src/styled-system
with a baseUrl like./src
would result on parser NOT matching imports likeimport { container } from "styled-system/patterns";
cause it would expect the full pathsrc/styled-system
-
e48b130a: - Remove
stack
frombox.toJSON()
so that generated JSON files have less noise, mostly useful to get make thepanda debug
command easier to read- Also use the
ParserResult.toJSON()
method onpanda 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": [ {} ] } ],
- Also use the
-
1a2c0e2b: 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 [6f03ead3]
-
Updated dependencies [8c670d60]
-
Updated dependencies [33198907]
-
Updated dependencies [53fb0708]
-
Updated dependencies [c0335cf4]
-
Updated dependencies [762fd0c9]
-
Updated dependencies [f9247e52]
-
Updated dependencies [1ed239cd]
-
Updated dependencies [09ebaf2e]
-
Updated dependencies [78ed6ed4]
-
Updated dependencies [e48b130a]
-
Updated dependencies [1a2c0e2b]
-
Updated dependencies [b8f8c2a6]
-
Updated dependencies [a3d760ce]
-
Updated dependencies [d9bc63e7]
- @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
- Updated dependencies [60df9bd1]
- Updated dependencies [30f41e01]
- Updated dependencies [ead9eaa3]
- @pandacss/shared@0.5.0
- @pandacss/parser@0.5.0
- @pandacss/extractor@0.5.0
- @pandacss/generator@0.5.0
- @pandacss/types@0.5.0
- @pandacss/core@0.5.0
- @pandacss/token-dictionary@0.5.0
- @pandacss/config@0.5.0
- @pandacss/error@0.5.0
- @pandacss/is-valid-prop@0.5.0
- @pandacss/logger@0.5.0
- Updated dependencies [8991b1e4]
- Updated dependencies [2a1e9386]
- Updated dependencies [54a8913c]
- Updated dependencies [c7b42325]
- Updated dependencies [a48e5b00]
- Updated dependencies [5b344b9c]
- @pandacss/parser@0.4.0
- @pandacss/core@0.4.0
- @pandacss/is-valid-prop@0.4.0
- @pandacss/generator@0.4.0
- @pandacss/types@0.4.0
- @pandacss/config@0.4.0
- @pandacss/token-dictionary@0.4.0
- @pandacss/error@0.4.0
- @pandacss/extractor@0.4.0
- @pandacss/logger@0.4.0
- @pandacss/shared@0.4.0
- Updated dependencies [9822d79a]
- @pandacss/config@0.3.2
- @pandacss/core@0.3.2
- @pandacss/error@0.3.2
- @pandacss/extractor@0.3.2
- @pandacss/generator@0.3.2
- @pandacss/is-valid-prop@0.3.2
- @pandacss/logger@0.3.2
- @pandacss/parser@0.3.2
- @pandacss/shared@0.3.2
- @pandacss/token-dictionary@0.3.2
- @pandacss/types@0.3.2
- efd79d83: Baseline release for the launch
- Updated dependencies [efd79d83]
- @pandacss/config@0.3.1
- @pandacss/core@0.3.1
- @pandacss/error@0.3.1
- @pandacss/extractor@0.3.1
- @pandacss/generator@0.3.1
- @pandacss/is-valid-prop@0.3.1
- @pandacss/logger@0.3.1
- @pandacss/parser@0.3.1
- @pandacss/shared@0.3.1
- @pandacss/token-dictionary@0.3.1
- @pandacss/types@0.3.1
- b8ab0868: Fix white space when updating the
.gitignore
file - Updated dependencies [6d81ee9e]
- @pandacss/generator@0.3.0
- @pandacss/parser@0.3.0
- @pandacss/types@0.3.0
- @pandacss/config@0.3.0
- @pandacss/core@0.3.0
- @pandacss/token-dictionary@0.3.0
- @pandacss/error@0.3.0
- @pandacss/extractor@0.3.0
- @pandacss/is-valid-prop@0.3.0
- @pandacss/logger@0.3.0
- @pandacss/shared@0.3.0
-
fb40fff2: Initial release of all packages
- Internal AST parser for TS and TSX
- Support for defining presets in config
- Support for design tokens (core and semantic)
- Add
outExtension
key to config to allow file extension options for generated javascript..js
or.mjs
- Add
jsxElement
option to patterns, to allow specifying the jsx element rendered by the patterns.
-
Updated dependencies [c308e8be]
-
Updated dependencies [fb40fff2]
- @pandacss/config@0.0.2
- @pandacss/types@0.0.2
- @pandacss/core@0.0.2
- @pandacss/error@0.0.2
- @pandacss/extractor@0.0.2
- @pandacss/generator@0.0.2
- @pandacss/is-valid-prop@0.0.2
- @pandacss/logger@0.0.2
- @pandacss/parser@0.0.2
- @pandacss/shared@0.0.2
- @pandacss/token-dictionary@0.0.2
- path.join('-'), }) }, }, })
## `utility:created`
This hook is called when the internal classname engine has been created. You can override the default `toHash` function
used when `config.hash` is set to `true`
```ts
export default defineConfig({
// ...
hooks: {
'utility:created': ({ configure }) => {
configure({
toHash: (paths, toHash) => {
const stringConds = paths.join(':')
const splitConds = stringConds.split('_')
const hashConds = splitConds.map(toHash)
return hashConds.join('_')
},
})
},
},
})
This hook is called right before writing the codegen files to disk. You can use this hook to tweak the codegen files
export default defineConfig({
// ...
hooks: {
'codegen:prepare': ({ artifacts, changed }) => {
// do something with the emitted js/d.ts files
},
},
})
-
d5977c24: - Add a
--logfile
flag to thepanda
,panda codegen
,panda cssgen
andpanda debug
commands.- Add a
logfile
option to the postcss plugin
Logs will be streamed to the file specified by the
--logfile
flag or thelogfile
option. This is useful for debugging issues that occur during the build process.panda --logfile ./logs/panda.log
module.exports = { plugins: { '@pandacss/dev/postcss': { logfile: './logs/panda.log', }, }, }
- Add a
-
Updated dependencies [0dd45b6a]
-
Updated dependencies [74485ef1]
-
Updated dependencies [ab32d1d7]
-
Updated dependencies [ab32d1d7]
-
Updated dependencies [49c760cd]
-
Updated dependencies [d5977c24]
- @pandacss/config@0.30.0
- @pandacss/types@0.30.0
- @pandacss/token-dictionary@0.30.0
- @pandacss/generator@0.30.0
- @pandacss/shared@0.30.0
- @pandacss/core@0.30.0
- @pandacss/logger@0.30.0
- @pandacss/parser@0.30.0
- @pandacss/extractor@0.30.0
- a5c75607: Fix an issue (introduced in v0.29) with
panda init
and add an assert on the newcolorMix
utility function - Updated dependencies [a5c75607]
- @pandacss/core@0.29.1
- @pandacss/generator@0.29.1
- @pandacss/parser@0.29.1
- @pandacss/config@0.29.1
- @pandacss/extractor@0.29.1
- @pandacss/logger@0.29.1
- @pandacss/shared@0.29.1
- @pandacss/token-dictionary@0.29.1
- @pandacss/types@0.29.1
-
a2fb5cc6: - Add support for explicitly specifying config related files that should trigger a context reload on change.
We automatically track the config file and (transitive) files imported by the config file as much as possible, but sometimes we might miss some. You can use this option as a workaround for those edge cases.
Set the
dependencies
option inpanda.config.ts
to a glob or list of files.export default defineConfig({ // ... dependencies: ['path/to/files/**.ts'], })
-
Invoke
config:change
hook in more situations (when the--watch
flag is passed topanda codegen
,panda cssgen
,panda ship
) -
Watch for more config options paths changes, so that the related artifacts will be regenerated a bit more reliably (ex: updating the
config.hooks
will now trigger a full regeneration ofstyled-system
)
-
- Updated dependencies [5fcdeb75]
- Updated dependencies [7c7340ec]
- Updated dependencies [f778d3e5]
- Updated dependencies [2e32794d]
- Updated dependencies [ea3f5548]
- Updated dependencies [250b4d11]
- Updated dependencies [a2fb5cc6]
- @pandacss/types@0.29.0
- @pandacss/core@0.29.0
- @pandacss/token-dictionary@0.29.0
- @pandacss/parser@0.29.0
- @pandacss/generator@0.29.0
- @pandacss/config@0.29.0
- @pandacss/extractor@0.29.0
- @pandacss/logger@0.29.0
- @pandacss/shared@0.29.0
-
f58f6df2: Refactor
config.hooks
to be much more powerful, you can now:- Tweak the config after it has been resolved (after presets are loaded and merged), this could be used to dynamically
load all
recipes
from a folder - Transform a source file's content before parsing it, this could be used to transform the file content to a
tsx
-friendly syntax so that Panda's parser can parse it. - Implement your own parser logic and add the extracted results to the classic Panda pipeline, this could be used to parse style usage from any template language
- Tweak the CSS content for any
@layer
or even right before it's written to disk (if using the CLI) or injected through the postcss plugin, allowing all kinds of customizations like removing the unused CSS variables, etc. - React to any config change or after the codegen step (your outdir, the
styled-system
folder) have been generated
See the list of available
config.hooks
here:export interface PandaHooks { /** * Called when the config is resolved, after all the presets are loaded and merged. * This is the first hook called, you can use it to tweak the config before the context is created. */ 'config:resolved': (args: { conf: LoadConfigResult }) => MaybeAsyncReturn /** * Called when the Panda context has been created and the API is ready to be used. */ 'context:created': (args: { ctx: ApiInterface; logger: LoggerInterface }) => void /** * Called when the config file or one of its dependencies (imports) has changed. */ 'config:change': (args: { config: UserConfig }) => MaybeAsyncReturn /** * Called after reading the file content but before parsing it. * You can use this hook to transform the file content to a tsx-friendly syntax so that Panda's parser can parse it. * You can also use this hook to parse the file's content on your side using a custom parser, in this case you don't have to return anything. */ 'parser:before': (args: { filePath: string; content: string }) => string | void /** * Called after the file styles are extracted and processed into the resulting ParserResult object. * You can also use this hook to add your own extraction results from your custom parser to the ParserResult object. */ 'parser:after': (args: { filePath: string; result: ParserResultInterface | undefined }) => void /** * Called after the codegen is completed */ 'codegen:done': () => MaybeAsyncReturn /** * Called right before adding the design-system CSS (global, static, preflight, tokens, keyframes) to the final CSS * Called right before writing/injecting the final CSS (styles.css) that contains the design-system CSS and the parser CSS * You can use it to tweak the CSS content before it's written to disk or injected through the postcss plugin. */ 'cssgen:done': (args: { artifact: 'global' | 'static' | 'reset' | 'tokens' | 'keyframes' | 'styles.css' content: string }) => string | void }
- Tweak the config after it has been resolved (after presets are loaded and merged), this could be used to dynamically
load all
-
f255342f: Add a
--cpu-prof
flag topanda
,panda cssgen
,panda codegen
andpanda debug
commands This is useful for debugging performance issues inpanda
itself. This will generate apanda-{command}-{timestamp}.cpuprofile
file in the current working directory, which can be opened in tools like SpeedscopeThis is mostly intended for maintainers or can be asked by maintainers to help debug issues.
-
Updated dependencies [f58f6df2]
-
Updated dependencies [e463ce0e]
-
Updated dependencies [77cab9fe]
-
Updated dependencies [770c7aa4]
-
Updated dependencies [1edadf30]
-
Updated dependencies [d4fa5de9]
-
Updated dependencies [9d000dcd]
-
Updated dependencies [6d7e7b07]
- @pandacss/generator@0.28.0
- @pandacss/config@0.28.0
- @pandacss/parser@0.28.0
- @pandacss/types@0.28.0
- @pandacss/core@0.28.0
- @pandacss/shared@0.28.0
- @pandacss/token-dictionary@0.28.0
- @pandacss/error@0.28.0
- @pandacss/extractor@0.28.0
- @pandacss/logger@0.28.0
- 1ed4df77: Fix issue where HMR doesn't work when tsconfig paths is used.
- 39d10c79: Fix
prettier
parser warning in panda config setup. - Updated dependencies [1ed4df77]
- @pandacss/types@0.27.3
- @pandacss/core@0.27.3
- @pandacss/config@0.27.3
- @pandacss/generator@0.27.3
- @pandacss/parser@0.27.3
- @pandacss/token-dictionary@0.27.3
- @pandacss/error@0.27.3
- @pandacss/extractor@0.27.3
- @pandacss/logger@0.27.3
- @pandacss/shared@0.27.3
- bfa8b1ee: Switch back to
node:path
frompathe
to resolve issues with windows path in PostCSS + Webpack set up- @pandacss/config@0.27.2
- @pandacss/core@0.27.2
- @pandacss/error@0.27.2
- @pandacss/extractor@0.27.2
- @pandacss/generator@0.27.2
- @pandacss/logger@0.27.2
- @pandacss/parser@0.27.2
- @pandacss/shared@0.27.2
- @pandacss/token-dictionary@0.27.2
- @pandacss/types@0.27.2
- ee9341db: Fix issue in windows environments where HMR doesn't work in webpack projects.
- Updated dependencies [ee9341db]
- @pandacss/types@0.27.1
- @pandacss/config@0.27.1
- @pandacss/core@0.27.1
- @pandacss/generator@0.27.1
- @pandacss/parser@0.27.1
- @pandacss/token-dictionary@0.27.1
- @pandacss/error@0.27.1
- @pandacss/extractor@0.27.1
- @pandacss/logger@0.27.1
- @pandacss/shared@0.27.1
-
84304901: Improve performance, mostly for the CSS generation by removing a lot of
postcss
usage (and plugins).- Introduce a new
config.lightningcss
option to uselightningcss
(currently disabled by default) instead ofpostcss
. - Add a new
config.browserslist
option to configure the browserslist used bylightningcss
. - Add a
--lightningcss
flag to thepanda
andpanda cssgen
command to uselightningcss
instead ofpostcss
for this run.
markImportant
fn from JS instead of walking through postcss AST nodes- use a fork of
stitches
stringify
function instead ofpostcss-css-in-js
to write the CSS string from a JS object - only compute once
TokenDictionary
properties - refactor
serializeStyle
to use the same code path as the rest of the pipeline withStyleEncoder
/StyleDecoder
and rename it totransformStyles
to better convey what it does
- Introduce a new
- Updated dependencies [dce0b3b2]
- Updated dependencies [84304901]
- Updated dependencies [bee3ec85]
- Updated dependencies [74ac0d9d]
- Updated dependencies [c9195a4e]
- @pandacss/generator@0.27.0
- @pandacss/token-dictionary@0.27.0
- @pandacss/extractor@0.27.0
- @pandacss/config@0.27.0
- @pandacss/logger@0.27.0
- @pandacss/parser@0.27.0
- @pandacss/shared@0.27.0
- @pandacss/error@0.27.0
- @pandacss/types@0.27.0
- @pandacss/core@0.27.0
- @pandacss/config@0.26.2
- @pandacss/parser@0.26.2
- @pandacss/core@0.26.2
- @pandacss/error@0.26.2
- @pandacss/extractor@0.26.2
- @pandacss/generator@0.26.2
- @pandacss/logger@0.26.2
- @pandacss/shared@0.26.2
- @pandacss/token-dictionary@0.26.2
- @pandacss/types@0.26.2
- Updated dependencies [6de4c737]
- @pandacss/generator@0.26.1
- @pandacss/parser@0.26.1
- @pandacss/config@0.26.1
- @pandacss/core@0.26.1
- @pandacss/error@0.26.1
- @pandacss/extractor@0.26.1
- @pandacss/logger@0.26.1
- @pandacss/shared@0.26.1
- @pandacss/token-dictionary@0.26.1
- @pandacss/types@0.26.1
- 1bd7fbb7: Fix
@pandacss/postcss
plugin regression when the entry CSS file (with@layer
rules order) contains user-defined rules, those user-defined rules would not be reloaded correctly after being changed.
-
1bd7fbb7: Fix an edge-case for when the
config.outdir
would not be set in thepanda.config
Internal details: The
outdir
would not have any value after a config change due to the fallback being set in the initial config resolving code path but not in context reloading code path, moving it inside the config loading function fixes this issue. -
Updated dependencies [a179d74f]
-
Updated dependencies [657ca5da]
-
Updated dependencies [b5cf6ee6]
-
Updated dependencies [58df7d74]
-
Updated dependencies [14033e00]
-
Updated dependencies [1bd7fbb7]
-
Updated dependencies [d420c676]
- @pandacss/generator@0.26.0
- @pandacss/shared@0.26.0
- @pandacss/types@0.26.0
- @pandacss/core@0.26.0
- @pandacss/config@0.26.0
- @pandacss/parser@0.26.0
- @pandacss/token-dictionary@0.26.0
- @pandacss/error@0.26.0
- @pandacss/extractor@0.26.0
- @pandacss/logger@0.26.0
- bc154358: Fix config dependencies detection by re-introducing the file tracing utility
- Updated dependencies [59fd291c]
- Updated dependencies [de282f60]
- Updated dependencies [de282f60]
- @pandacss/generator@0.25.0
- @pandacss/types@0.25.0
- @pandacss/core@0.25.0
- @pandacss/token-dictionary@0.25.0
- @pandacss/parser@0.25.0
- @pandacss/config@0.25.0
- @pandacss/error@0.25.0
- @pandacss/extractor@0.25.0
- @pandacss/logger@0.25.0
- @pandacss/shared@0.25.0
- Updated dependencies [71e82a4e]
- Updated dependencies [61ebf3d2]
- @pandacss/shared@0.24.2
- @pandacss/types@0.24.2
- @pandacss/core@0.24.2
- @pandacss/config@0.24.2
- @pandacss/generator@0.24.2
- @pandacss/parser@0.24.2
- @pandacss/token-dictionary@0.24.2
- @pandacss/error@0.24.2
- @pandacss/extractor@0.24.2
- @pandacss/logger@0.24.2
- 10e74428: - Fix an issue with the
@pandacss/postcss
(and therefore@pandacss/astro
) where the initial @layer CSS wasn't applied correctly- Fix an issue with
staticCss
where it was only generated when it was included in the config (we can generate it through the config recipes)
- Fix an issue with
- Updated dependencies [10e74428]
- @pandacss/generator@0.24.1
- @pandacss/parser@0.24.1
- @pandacss/config@0.24.1
- @pandacss/core@0.24.1
- @pandacss/error@0.24.1
- @pandacss/extractor@0.24.1
- @pandacss/logger@0.24.1
- @pandacss/shared@0.24.1
- @pandacss/token-dictionary@0.24.1
- @pandacss/types@0.24.1
- 63b3f1f2: - Boost style extraction performance by moving more work away from postcss
- Using a hashing strategy, the compiler only computes styles/classname once per style object and prop-value-condition pair
- Fix regression in previous implementation that increased memory usage per extraction, leading to slower performance over time
- Updated dependencies [63b3f1f2]
- Updated dependencies [f6881022]
- @pandacss/core@0.24.0
- @pandacss/generator@0.24.0
- @pandacss/parser@0.24.0
- @pandacss/types@0.24.0
- @pandacss/config@0.24.0
- @pandacss/token-dictionary@0.24.0
- @pandacss/error@0.24.0
- @pandacss/extractor@0.24.0
- @pandacss/logger@0.24.0
- @pandacss/shared@0.24.0
- 1ea7459c: Fix performance issue where process could get slower due to postcss rules held in memory.
- 383b6d1b: Fix an issue with the postcss plugin when a config change sometimes didn't trigger files extraction
- 840ed66b: Fix an issue with config change detection when using a custom
config.slotRecipes[xxx].jsx
array - Updated dependencies [d30b1737]
- Updated dependencies [1ea7459c]
- Updated dependencies [80ada336]
- Updated dependencies [b01eb049]
- Updated dependencies [a3b6ed5f]
- Updated dependencies [bd552b1f]
- Updated dependencies [840ed66b]
- @pandacss/generator@0.23.0
- @pandacss/core@0.23.0
- @pandacss/parser@0.23.0
- @pandacss/logger@0.23.0
- @pandacss/config@0.23.0
- @pandacss/error@0.23.0
- @pandacss/extractor@0.23.0
- @pandacss/is-valid-prop@0.23.0
- @pandacss/shared@0.23.0
- @pandacss/token-dictionary@0.23.0
- @pandacss/types@0.23.0
- Updated dependencies [8f4ce97c]
- Updated dependencies [647f05c9]
- Updated dependencies [647f05c9]
- @pandacss/generator@0.22.1
- @pandacss/types@0.22.1
- @pandacss/parser@0.22.1
- @pandacss/shared@0.22.1
- @pandacss/config@0.22.1
- @pandacss/core@0.22.1
- @pandacss/token-dictionary@0.22.1
- @pandacss/error@0.22.1
- @pandacss/extractor@0.22.1
- @pandacss/is-valid-prop@0.22.1
- @pandacss/logger@0.22.1
-
a2f6c2c8: Fix potential cross-platform issues with path resolving by using
pathe
instead ofpath
-
11753fea: Improve initial css extraction time by at least 5x 🚀
Initial extraction time can get slow when using static CSS with lots of recipes or parsing a lot of files.
Scenarios
- Park UI went from 3500ms to 580ms (6x faster)
- Panda Website went from 2900ms to 208ms (14x faster)
Potential Breaking Change
If you use
hooks
in yourpanda.config
file to listen for when css is extracted, we no longer return thecss
string for performance reasons. We might reconsider this in the future. -
Updated dependencies [526c6e34]
-
Updated dependencies [8db47ec6]
-
Updated dependencies [9c0d3f8f]
-
Updated dependencies [11753fea]
-
Updated dependencies [c95c40bd]
-
Updated dependencies [e83afef0]
- @pandacss/types@0.22.0
- @pandacss/generator@0.22.0
- @pandacss/shared@0.22.0
- @pandacss/core@0.22.0
- @pandacss/config@0.22.0
- @pandacss/parser@0.22.0
- @pandacss/token-dictionary@0.22.0
- @pandacss/error@0.22.0
- @pandacss/extractor@0.22.0
- @pandacss/is-valid-prop@0.22.0
- @pandacss/logger@0.22.0
-
7f846be2: Add
configPath
andcwd
options in the@pandacss/astro
integration just like in the@pandacss/postcss
This can be useful with Nx monorepos where the
panda.config.ts
is not in the root of the project. -
Updated dependencies [1464460f]
-
Updated dependencies [788aaba3]
-
Updated dependencies [26e6051a]
-
Updated dependencies [5b061615]
-
Updated dependencies [d81dcbe6]
-
Updated dependencies [105f74ce]
-
Updated dependencies [052283c2]
- @pandacss/extractor@0.21.0
- @pandacss/core@0.21.0
- @pandacss/generator@0.21.0
- @pandacss/shared@0.21.0
- @pandacss/types@0.21.0
- @pandacss/parser@0.21.0
- @pandacss/config@0.21.0
- @pandacss/token-dictionary@0.21.0
- @pandacss/error@0.21.0
- @pandacss/is-valid-prop@0.21.0
- @pandacss/logger@0.21.0
- @pandacss/config@0.20.1
- @pandacss/parser@0.20.1
- @pandacss/core@0.20.1
- @pandacss/generator@0.20.1
- @pandacss/token-dictionary@0.20.1
- @pandacss/error@0.20.1
- @pandacss/extractor@0.20.1
- @pandacss/is-valid-prop@0.20.1
- @pandacss/logger@0.20.1
- @pandacss/shared@0.20.1
- @pandacss/types@0.20.1
- 24ee49a5: - Add support for granular config change detection
- Improve the
codegen
experience by only rewriting files affecteds by a config change
- Improve the
- Updated dependencies [e4fdc64a]
- Updated dependencies [24ee49a5]
- Updated dependencies [4ba982f3]
- Updated dependencies [904aec7b]
- @pandacss/generator@0.20.0
- @pandacss/config@0.20.0
- @pandacss/parser@0.20.0
- @pandacss/types@0.20.0
- @pandacss/core@0.20.0
- @pandacss/token-dictionary@0.20.0
- @pandacss/error@0.20.0
- @pandacss/extractor@0.20.0
- @pandacss/is-valid-prop@0.20.0
- @pandacss/logger@0.20.0
- @pandacss/shared@0.20.0
- Updated dependencies [61831040]
- Updated dependencies [92a7fbe5]
- Updated dependencies [89f86923]
- Updated dependencies [402afbee]
- Updated dependencies [9f5711f9]
- @pandacss/generator@0.19.0
- @pandacss/types@0.19.0
- @pandacss/core@0.19.0
- @pandacss/parser@0.19.0
- @pandacss/config@0.19.0
- @pandacss/token-dictionary@0.19.0
- @pandacss/error@0.19.0
- @pandacss/extractor@0.19.0
- @pandacss/is-valid-prop@0.19.0
- @pandacss/logger@0.19.0
- @pandacss/shared@0.19.0
- Updated dependencies [78b940b2]
- @pandacss/generator@0.18.3
- @pandacss/parser@0.18.3
- @pandacss/config@0.18.3
- @pandacss/core@0.18.3
- @pandacss/error@0.18.3
- @pandacss/extractor@0.18.3
- @pandacss/is-valid-prop@0.18.3
- @pandacss/logger@0.18.3
- @pandacss/shared@0.18.3
- @pandacss/token-dictionary@0.18.3
- @pandacss/types@0.18.3
- @pandacss/config@0.18.2
- @pandacss/parser@0.18.2
- @pandacss/core@0.18.2
- @pandacss/generator@0.18.2
- @pandacss/token-dictionary@0.18.2
- @pandacss/error@0.18.2
- @pandacss/extractor@0.18.2
- @pandacss/is-valid-prop@0.18.2
- @pandacss/logger@0.18.2
- @pandacss/shared@0.18.2
- @pandacss/types@0.18.2
- Updated dependencies [566fd28a]
- Updated dependencies [43bfa510]
- Updated dependencies [8c76cd0f]
- @pandacss/token-dictionary@0.18.1
- @pandacss/generator@0.18.1
- @pandacss/core@0.18.1
- @pandacss/config@0.18.1
- @pandacss/parser@0.18.1
- @pandacss/error@0.18.1
- @pandacss/extractor@0.18.1
- @pandacss/is-valid-prop@0.18.1
- @pandacss/logger@0.18.1
- @pandacss/shared@0.18.1
- @pandacss/types@0.18.1
- 3010af28: Add a
--only-config
flag for thepanda debug
command, to skip writing app files and just output the resolved config. - 866c12aa: Fix CLI interactive mode
syntax
question values and prettify the generatedpanda.config.ts
file - Updated dependencies [ba9e32fa]
- Updated dependencies [b7cb2073]
- Updated dependencies [336fd0b0]
- @pandacss/generator@0.18.0
- @pandacss/shared@0.18.0
- @pandacss/extractor@0.18.0
- @pandacss/parser@0.18.0
- @pandacss/core@0.18.0
- @pandacss/token-dictionary@0.18.0
- @pandacss/types@0.18.0
- @pandacss/config@0.18.0
- @pandacss/error@0.18.0
- @pandacss/is-valid-prop@0.18.0
- @pandacss/logger@0.18.0
- 17f68b3f: Ensure dir exists before writing file for the
panda cssgen
/panda ship
/panda analyze
commands when specifying an outfile. - Updated dependencies [6718f81b]
- Updated dependencies [a6dfc944]
- Updated dependencies [3ce70c37]
- @pandacss/generator@0.17.5
- @pandacss/core@0.17.5
- @pandacss/parser@0.17.5
- @pandacss/config@0.17.5
- @pandacss/error@0.17.5
- @pandacss/extractor@0.17.5
- @pandacss/is-valid-prop@0.17.5
- @pandacss/logger@0.17.5
- @pandacss/shared@0.17.5
- @pandacss/token-dictionary@0.17.5
- @pandacss/types@0.17.5
- Updated dependencies [fa77080a]
- @pandacss/types@0.17.4
- @pandacss/config@0.17.4
- @pandacss/core@0.17.4
- @pandacss/generator@0.17.4
- @pandacss/parser@0.17.4
- @pandacss/token-dictionary@0.17.4
- @pandacss/error@0.17.4
- @pandacss/extractor@0.17.4
- @pandacss/is-valid-prop@0.17.4
- @pandacss/logger@0.17.4
- @pandacss/shared@0.17.4
- 60f2c8a3: Fix issue in studio command where
fs-extra
imports could not be resolved. - Updated dependencies [529a262e]
- @pandacss/types@0.17.3
- @pandacss/config@0.17.3
- @pandacss/core@0.17.3
- @pandacss/generator@0.17.3
- @pandacss/parser@0.17.3
- @pandacss/token-dictionary@0.17.3
- @pandacss/error@0.17.3
- @pandacss/extractor@0.17.3
- @pandacss/is-valid-prop@0.17.3
- @pandacss/logger@0.17.3
- @pandacss/shared@0.17.3
- @pandacss/config@0.17.2
- @pandacss/core@0.17.2
- @pandacss/error@0.17.2
- @pandacss/extractor@0.17.2
- @pandacss/generator@0.17.2
- @pandacss/is-valid-prop@0.17.2
- @pandacss/logger@0.17.2
- @pandacss/parser@0.17.2
- @pandacss/shared@0.17.2
- @pandacss/token-dictionary@0.17.2
- @pandacss/types@0.17.2
- 56299cb2: Fix persistent error that causes CI builds to fail due to PostCSS plugin emitting artifacts in the middle of a build process.
- ddcaf7b2: Fix issue where FileSystem writes cause intermittent errors in different build contexts (Vercel, Docker).
This was solved by limiting the concurrency using the
p-limit
library - Updated dependencies [296d62b1]
- Updated dependencies [42520626]
- Updated dependencies [7b981422]
- Updated dependencies [9382e687]
- Updated dependencies [aea28c9f]
- Updated dependencies [a76b279e]
- Updated dependencies [5ce359f6]
- @pandacss/generator@0.17.1
- @pandacss/core@0.17.1
- @pandacss/extractor@0.17.1
- @pandacss/shared@0.17.1
- @pandacss/parser@0.17.1
- @pandacss/types@0.17.1
- @pandacss/token-dictionary@0.17.1
- @pandacss/config@0.17.1
- @pandacss/error@0.17.1
- @pandacss/is-valid-prop@0.17.1
- @pandacss/logger@0.17.1
-
12281ff8: Improve support for styled element composition. This ensures that you can compose two styled elements together and the styles will be merged correctly.
const Box = styled('div', { base: { background: 'red.light', color: 'white', }, }) const ExtendedBox = styled(Box, { base: { background: 'red.dark' }, }) // <ExtendedBox> will have a background of `red.dark` and a color of `white`
Limitation: This feature does not allow compose mixed styled composition. A mixed styled composition happens when an element is created from a cva/inline cva, and another created from a config recipe.
- CVA or Inline CVA + CVA or Inline CVA = ✅
- Config Recipe + Config Recipe = ✅
- CVA or Inline CVA + Config Recipe = ❌
import { button } from '../styled-system/recipes' const Button = styled('div', button) // ❌ This will throw an error const ExtendedButton = styled(Button, { base: { background: 'red.dark' }, })
-
dd6811b3: Apply
config.logLevel
from the Panda config to the logger in every context.Fixes chakra-ui#1451
-
Updated dependencies [93996aaf]
-
Updated dependencies [12281ff8]
-
Updated dependencies [fc4688e6]
-
Updated dependencies [e73ea803]
-
Updated dependencies [fbf062c6]
- @pandacss/generator@0.17.0
- @pandacss/shared@0.17.0
- @pandacss/types@0.17.0
- @pandacss/core@0.17.0
- @pandacss/parser@0.17.0
- @pandacss/token-dictionary@0.17.0
- @pandacss/config@0.17.0
- @pandacss/error@0.17.0
- @pandacss/extractor@0.17.0
- @pandacss/is-valid-prop@0.17.0
- @pandacss/logger@0.17.0
-
36252b1d: ## --minimal flag
Adds a new
--minimal
flag for the CLI on thepanda cssgen
command to skip generating CSS for theme tokens, preflightkeyframes, static and global cssThich means that the generated CSS will only contain the CSS related to the styles found in the included files.
Note that you can use a
glob
to override theconfig.include
option like this:panda cssgen "src/**/*.css" --minimal
This is useful when you want to split your CSS into multiple files, for example if you want to split by pages.
Use it like this:
panda cssgen "src/**/pages/*.css" --minimal --outfile dist/pages.css
In addition to the optional
glob
that you can already pass to override the config.include option, thepanda cssgen
command now accepts a new{type}
argument to generate only a specific type of CSS:- preflight
- tokens
- static
- global
- keyframes
Note that this only works when passing an
--outfile
.You can use it like this:
panda cssgen "static" --outfile dist/static.css
- 20f4e204: Apply a few optmizations on the resulting CSS generated from
panda cssgen
command - Updated dependencies [2b5cbf73]
- Updated dependencies [20f4e204]
- Updated dependencies [36252b1d]
- @pandacss/generator@0.16.0
- @pandacss/core@0.16.0
- @pandacss/parser@0.16.0
- @pandacss/config@0.16.0
- @pandacss/token-dictionary@0.16.0
- @pandacss/error@0.16.0
- @pandacss/extractor@0.16.0
- @pandacss/is-valid-prop@0.16.0
- @pandacss/logger@0.16.0
- @pandacss/shared@0.16.0
- @pandacss/types@0.16.0
- 909fcbe8: - Fix issue with
Promise.all
where it aborts premature ine weird events. Switched toPromise.allSettled
- Updated dependencies [d12aed2b]
- Updated dependencies [909fcbe8]
- Updated dependencies [3d5971e5]
- @pandacss/generator@0.15.5
- @pandacss/parser@0.15.5
- @pandacss/config@0.15.5
- @pandacss/core@0.15.5
- @pandacss/error@0.15.5
- @pandacss/extractor@0.15.5
- @pandacss/is-valid-prop@0.15.5
- @pandacss/logger@0.15.5
- @pandacss/shared@0.15.5
- @pandacss/token-dictionary@0.15.5
- @pandacss/types@0.15.5
- Updated dependencies [abd7c47a]
- Updated dependencies [bf0e6a30]
- Updated dependencies [69699ba4]
- Updated dependencies [3a04a927]
- @pandacss/config@0.15.4
- @pandacss/generator@0.15.4
- @pandacss/parser@0.15.4
- @pandacss/extractor@0.15.4
- @pandacss/types@0.15.4
- @pandacss/core@0.15.4
- @pandacss/error@0.15.4
- @pandacss/is-valid-prop@0.15.4
- @pandacss/logger@0.15.4
- @pandacss/shared@0.15.4
- @pandacss/token-dictionary@0.15.4
- Updated dependencies [d34c8b48]
- Updated dependencies [95b06bb1]
- Updated dependencies [1ac2011b]
- Updated dependencies [58743bc4]
- Updated dependencies [1eb31118]
- @pandacss/generator@0.15.3
- @pandacss/shared@0.15.3
- @pandacss/core@0.15.3
- @pandacss/parser@0.15.3
- @pandacss/types@0.15.3
- @pandacss/token-dictionary@0.15.3
- @pandacss/config@0.15.3
- @pandacss/error@0.15.3
- @pandacss/extractor@0.15.3
- @pandacss/is-valid-prop@0.15.3
- @pandacss/logger@0.15.3
- f3c30d60: Update supported panda config extensions
- Updated dependencies [6d15776c]
- Updated dependencies [26a788c0]
- Updated dependencies [2645c2da]
- @pandacss/generator@0.15.2
- @pandacss/types@0.15.2
- @pandacss/config@0.15.2
- @pandacss/parser@0.15.2
- @pandacss/core@0.15.2
- @pandacss/token-dictionary@0.15.2
- @pandacss/error@0.15.2
- @pandacss/extractor@0.15.2
- @pandacss/is-valid-prop@0.15.2
- @pandacss/logger@0.15.2
- @pandacss/shared@0.15.2
- Updated dependencies [7e8bcb03]
- Updated dependencies [848936e0]
- Updated dependencies [433f88cd]
- Updated dependencies [c40ae1b9]
- Updated dependencies [26f6982c]
- Updated dependencies [4e003bfb]
- Updated dependencies [7499bbd2]
- @pandacss/generator@0.15.1
- @pandacss/core@0.15.1
- @pandacss/extractor@0.15.1
- @pandacss/parser@0.15.1
- @pandacss/shared@0.15.1
- @pandacss/token-dictionary@0.15.1
- @pandacss/types@0.15.1
- @pandacss/config@0.15.1
- @pandacss/error@0.15.1
- @pandacss/is-valid-prop@0.15.1
- @pandacss/logger@0.15.1
- 39298609: Make the types suggestion faster (updated
DeepPartial
) - Updated dependencies [be24d1a0]
- Updated dependencies [4bc515ea]
- Updated dependencies [9f429d35]
- Updated dependencies [93d9ee7e]
- Updated dependencies [bc3b077d]
- Updated dependencies [35793d85]
- Updated dependencies [39298609]
- Updated dependencies [dd47b6e6]
- Updated dependencies [7c1ab170]
- Updated dependencies [f27146d6]
- @pandacss/extractor@0.15.0
- @pandacss/types@0.15.0
- @pandacss/generator@0.15.0
- @pandacss/shared@0.15.0
- @pandacss/core@0.15.0
- @pandacss/parser@0.15.0
- @pandacss/config@0.15.0
- @pandacss/token-dictionary@0.15.0
- @pandacss/error@0.15.0
- @pandacss/is-valid-prop@0.15.0
- @pandacss/logger@0.15.0
- 8106b411: Add
generator:done
hook to perform actions when codegen artifacts are emitted.
- Updated dependencies [b1c31fdd]
- Updated dependencies [bdd30d18]
- Updated dependencies [bff17df2]
- Updated dependencies [6548f4f7]
- Updated dependencies [8106b411]
- Updated dependencies [9e799554]
- Updated dependencies [e6459a59]
- Updated dependencies [6f7ee198]
- Updated dependencies [623e321f]
- Updated dependencies [542d1ebc]
- Updated dependencies [39b20797]
- Updated dependencies [02161d41]
- @pandacss/token-dictionary@0.14.0
- @pandacss/generator@0.14.0
- @pandacss/types@0.14.0
- @pandacss/core@0.14.0
- @pandacss/parser@0.14.0
- @pandacss/config@0.14.0
- @pandacss/error@0.14.0
- @pandacss/extractor@0.14.0
- @pandacss/is-valid-prop@0.14.0
- @pandacss/logger@0.14.0
- @pandacss/shared@0.14.0
- Updated dependencies [a5d7d514]
- Updated dependencies [577dcb9d]
- Updated dependencies [192d5e49]
- Updated dependencies [d0fbc7cc]
- @pandacss/generator@0.13.1
- @pandacss/parser@0.13.1
- @pandacss/error@0.13.1
- @pandacss/config@0.13.1
- @pandacss/core@0.13.1
- @pandacss/extractor@0.13.1
- @pandacss/is-valid-prop@0.13.1
- @pandacss/logger@0.13.1
- @pandacss/shared@0.13.1
- @pandacss/token-dictionary@0.13.1
- @pandacss/types@0.13.1
- Updated dependencies [04b5fd6c]
- Updated dependencies [a9690110]
- Updated dependencies [32ceac3f]
- @pandacss/core@0.13.0
- @pandacss/generator@0.13.0
- @pandacss/parser@0.13.0
- @pandacss/config@0.13.0
- @pandacss/error@0.13.0
- @pandacss/extractor@0.13.0
- @pandacss/is-valid-prop@0.13.0
- @pandacss/logger@0.13.0
- @pandacss/shared@0.13.0
- @pandacss/token-dictionary@0.13.0
- @pandacss/types@0.13.0
- Updated dependencies [6588c8e0]
- Updated dependencies [36fdff89]
- @pandacss/generator@0.12.2
- @pandacss/parser@0.12.2
- @pandacss/config@0.12.2
- @pandacss/core@0.12.2
- @pandacss/error@0.12.2
- @pandacss/extractor@0.12.2
- @pandacss/is-valid-prop@0.12.2
- @pandacss/logger@0.12.2
- @pandacss/shared@0.12.2
- @pandacss/token-dictionary@0.12.2
- @pandacss/types@0.12.2
- Updated dependencies [599fbc1a]
- @pandacss/generator@0.12.1
- @pandacss/parser@0.12.1
- @pandacss/config@0.12.1
- @pandacss/core@0.12.1
- @pandacss/error@0.12.1
- @pandacss/extractor@0.12.1
- @pandacss/is-valid-prop@0.12.1
- @pandacss/logger@0.12.1
- @pandacss/shared@0.12.1
- @pandacss/token-dictionary@0.12.1
- @pandacss/types@0.12.1
- Updated dependencies [a41515de]
- Updated dependencies [bf2ff391]
- Updated dependencies [ad1518b8]
- @pandacss/generator@0.12.0
- @pandacss/parser@0.12.0
- @pandacss/config@0.12.0
- @pandacss/core@0.12.0
- @pandacss/token-dictionary@0.12.0
- @pandacss/error@0.12.0
- @pandacss/extractor@0.12.0
- @pandacss/is-valid-prop@0.12.0
- @pandacss/logger@0.12.0
- @pandacss/shared@0.12.0
- @pandacss/types@0.12.0
- 23b516f4: Make layers customizable
- Updated dependencies [c07e1beb]
- Updated dependencies [dfb3f85f]
- Updated dependencies [23b516f4]
- @pandacss/generator@0.11.1
- @pandacss/shared@0.11.1
- @pandacss/is-valid-prop@0.11.1
- @pandacss/types@0.11.1
- @pandacss/core@0.11.1
- @pandacss/parser@0.11.1
- @pandacss/token-dictionary@0.11.1
- @pandacss/config@0.11.1
- @pandacss/error@0.11.1
- @pandacss/extractor@0.11.1
- @pandacss/logger@0.11.1
- cde9702e: Add an optional
glob
argument that overrides the config.include on thepanda cssgen
CLI command. - Updated dependencies [dead08a2]
- Updated dependencies [5b95caf5]
- Updated dependencies [39b80b49]
- Updated dependencies [1dc788bd]
- @pandacss/config@0.11.0
- @pandacss/generator@0.11.0
- @pandacss/types@0.11.0
- @pandacss/parser@0.11.0
- @pandacss/core@0.11.0
- @pandacss/token-dictionary@0.11.0
- @pandacss/error@0.11.0
- @pandacss/extractor@0.11.0
- @pandacss/is-valid-prop@0.11.0
- @pandacss/logger@0.11.0
- @pandacss/shared@0.11.0
- Updated dependencies [24e783b3]
- Updated dependencies [9d4aa918]
- Updated dependencies [2d2a42da]
- Updated dependencies [386e5098]
- Updated dependencies [6d4eaa68]
- Updated dependencies [a669f4d5]
- @pandacss/is-valid-prop@0.10.0
- @pandacss/generator@0.10.0
- @pandacss/shared@0.10.0
- @pandacss/types@0.10.0
- @pandacss/token-dictionary@0.10.0
- @pandacss/core@0.10.0
- @pandacss/parser@0.10.0
- @pandacss/config@0.10.0
- @pandacss/error@0.10.0
- @pandacss/extractor@0.10.0
- @pandacss/logger@0.10.0
- f10e706a: Fix PostCSS edge-case where the config file is not in the app root
- Updated dependencies [c08de87f]
- Updated dependencies [3269b411]
- @pandacss/generator@0.9.0
- @pandacss/parser@0.9.0
- @pandacss/types@0.9.0
- @pandacss/core@0.9.0
- @pandacss/extractor@0.9.0
- @pandacss/config@0.9.0
- @pandacss/token-dictionary@0.9.0
- @pandacss/error@0.9.0
- @pandacss/is-valid-prop@0.9.0
- @pandacss/logger@0.9.0
- @pandacss/shared@0.9.0
- 5d1d376b: Adding missing comma for generated panda config
- be0ad578: Fix parser issue with TS path mappings
- 78612d7f: Fix node evaluation in extractor process (can happen when using a BinaryExpression, simple CallExpression or conditions)
- Updated dependencies [3f1e7e32]
- Updated dependencies [fb449016]
- Updated dependencies [ac078416]
- Updated dependencies [e1f6318a]
- Updated dependencies [be0ad578]
- Updated dependencies [b75905d8]
- Updated dependencies [78612d7f]
- Updated dependencies [9ddf258b]
- Updated dependencies [0520ba83]
- Updated dependencies [156b6bde]
- @pandacss/generator@0.8.0
- @pandacss/core@0.8.0
- @pandacss/extractor@0.8.0
- @pandacss/parser@0.8.0
- @pandacss/token-dictionary@0.8.0
- @pandacss/config@0.8.0
- @pandacss/types@0.8.0
- @pandacss/error@0.8.0
- @pandacss/is-valid-prop@0.8.0
- @pandacss/logger@0.8.0
- @pandacss/shared@0.8.0
- f4bb0576: Fix postcss issue where
@layer reset, base, tokens, recipes, utilities
check was too strict - d8ebaf2f: Fix issue where hot module reloading is inconsistent in the PostCSS plugin when external files are changed
- 4ff7ddea: Fix issue where hot module reloading is inconsistent in the PostCSS plugin when another internal package is changed
- Updated dependencies [16cd3764]
- Updated dependencies [f2abf34d]
- Updated dependencies [f59154fb]
- Updated dependencies [a9c189b7]
- Updated dependencies [7bc69e4b]
- Updated dependencies [1a05c4bb]
- @pandacss/parser@0.7.0
- @pandacss/extractor@0.7.0
- @pandacss/shared@0.7.0
- @pandacss/generator@0.7.0
- @pandacss/types@0.7.0
- @pandacss/config@0.7.0
- @pandacss/core@0.7.0
- @pandacss/token-dictionary@0.7.0
- @pandacss/error@0.7.0
- @pandacss/is-valid-prop@0.7.0
- @pandacss/logger@0.7.0
- 032c152a: Fix issue where
panda cssgen --outfile
doesn't extract files to chunks before bundling them into the css out file - Updated dependencies [cd912f35]
- Updated dependencies [dc4e80f7]
- Updated dependencies [12c900ee]
- Updated dependencies [21295f2e]
- Updated dependencies [5bd88c41]
- Updated dependencies [ef1dd676]
- Updated dependencies [b50675ca]
- @pandacss/generator@0.6.0
- @pandacss/core@0.6.0
- @pandacss/extractor@0.6.0
- @pandacss/parser@0.6.0
- @pandacss/config@0.6.0
- @pandacss/types@0.6.0
- @pandacss/token-dictionary@0.6.0
- @pandacss/error@0.6.0
- @pandacss/is-valid-prop@0.6.0
- @pandacss/logger@0.6.0
- @pandacss/shared@0.6.0
-
5b09ab3b: Add support for
--outfile
flag in thecssgen
command.panda cssgen --outfile dist/styles.css
-
78ed6ed4: Fix issue where using a nested outdir like
src/styled-system
with a baseUrl like./src
would result on parser NOT matching imports likeimport { container } from "styled-system/patterns";
cause it would expect the full pathsrc/styled-system
-
e48b130a: - Remove
stack
frombox.toJSON()
so that generated JSON files have less noise, mostly useful to get make thepanda debug
command easier to read- Also use the
ParserResult.toJSON()
method onpanda 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": [ {} ] } ],
- Also use the
-
1a2c0e2b: 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 [6f03ead3]
-
Updated dependencies [8c670d60]
-
Updated dependencies [33198907]
-
Updated dependencies [53fb0708]
-
Updated dependencies [c0335cf4]
-
Updated dependencies [762fd0c9]
-
Updated dependencies [f9247e52]
-
Updated dependencies [1ed239cd]
-
Updated dependencies [09ebaf2e]
-
Updated dependencies [78ed6ed4]
-
Updated dependencies [e48b130a]
-
Updated dependencies [1a2c0e2b]
-
Updated dependencies [b8f8c2a6]
-
Updated dependencies [a3d760ce]
-
Updated dependencies [d9bc63e7]
- @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
- Updated dependencies [60df9bd1]
- Updated dependencies [30f41e01]
- Updated dependencies [ead9eaa3]
- @pandacss/shared@0.5.0
- @pandacss/parser@0.5.0
- @pandacss/extractor@0.5.0
- @pandacss/generator@0.5.0
- @pandacss/types@0.5.0
- @pandacss/core@0.5.0
- @pandacss/token-dictionary@0.5.0
- @pandacss/config@0.5.0
- @pandacss/error@0.5.0
- @pandacss/is-valid-prop@0.5.0
- @pandacss/logger@0.5.0
- Updated dependencies [8991b1e4]
- Updated dependencies [2a1e9386]
- Updated dependencies [54a8913c]
- Updated dependencies [c7b42325]
- Updated dependencies [a48e5b00]
- Updated dependencies [5b344b9c]
- @pandacss/parser@0.4.0
- @pandacss/core@0.4.0
- @pandacss/is-valid-prop@0.4.0
- @pandacss/generator@0.4.0
- @pandacss/types@0.4.0
- @pandacss/config@0.4.0
- @pandacss/token-dictionary@0.4.0
- @pandacss/error@0.4.0
- @pandacss/extractor@0.4.0
- @pandacss/logger@0.4.0
- @pandacss/shared@0.4.0
- Updated dependencies [9822d79a]
- @pandacss/config@0.3.2
- @pandacss/core@0.3.2
- @pandacss/error@0.3.2
- @pandacss/extractor@0.3.2
- @pandacss/generator@0.3.2
- @pandacss/is-valid-prop@0.3.2
- @pandacss/logger@0.3.2
- @pandacss/parser@0.3.2
- @pandacss/shared@0.3.2
- @pandacss/token-dictionary@0.3.2
- @pandacss/types@0.3.2
- efd79d83: Baseline release for the launch
- Updated dependencies [efd79d83]
- @pandacss/config@0.3.1
- @pandacss/core@0.3.1
- @pandacss/error@0.3.1
- @pandacss/extractor@0.3.1
- @pandacss/generator@0.3.1
- @pandacss/is-valid-prop@0.3.1
- @pandacss/logger@0.3.1
- @pandacss/parser@0.3.1
- @pandacss/shared@0.3.1
- @pandacss/token-dictionary@0.3.1
- @pandacss/types@0.3.1
- b8ab0868: Fix white space when updating the
.gitignore
file - Updated dependencies [6d81ee9e]
- @pandacss/generator@0.3.0
- @pandacss/parser@0.3.0
- @pandacss/types@0.3.0
- @pandacss/config@0.3.0
- @pandacss/core@0.3.0
- @pandacss/token-dictionary@0.3.0
- @pandacss/error@0.3.0
- @pandacss/extractor@0.3.0
- @pandacss/is-valid-prop@0.3.0
- @pandacss/logger@0.3.0
- @pandacss/shared@0.3.0
-
fb40fff2: Initial release of all packages
- Internal AST parser for TS and TSX
- Support for defining presets in config
- Support for design tokens (core and semantic)
- Add
outExtension
key to config to allow file extension options for generated javascript..js
or.mjs
- Add
jsxElement
option to patterns, to allow specifying the jsx element rendered by the patterns.
-
Updated dependencies [c308e8be]
-
Updated dependencies [fb40fff2]
- @pandacss/config@0.0.2
- @pandacss/types@0.0.2
- @pandacss/core@0.0.2
- @pandacss/error@0.0.2
- @pandacss/extractor@0.0.2
- @pandacss/generator@0.0.2
- @pandacss/is-valid-prop@0.0.2
- @pandacss/logger@0.0.2
- @pandacss/parser@0.0.2
- @pandacss/shared@0.0.2
- @pandacss/token-dictionary@0.0.2