-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update panda-css monorepo to ^0.39.0 - autoclosed #59
Conversation
|
ecb7a28
to
d3d6e45
Compare
d3d6e45
to
9908d25
Compare
9908d25
to
e5ebbb1
Compare
e5ebbb1
to
b6d84ea
Compare
b6d84ea
to
ad78204
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #59 +/- ##
=======================================
Coverage 93.57% 93.57%
=======================================
Files 15 15
Lines 716 716
Branches 81 81
=======================================
Hits 670 670
Misses 45 45
Partials 1 1 ☔ View full report in Codecov by Sentry. |
ad78204
to
404e18a
Compare
404e18a
to
3bffaf3
Compare
3bffaf3
to
fea22c0
Compare
fea22c0
to
5fcfc81
Compare
5fcfc81
to
efba8df
Compare
efba8df
to
af0092b
Compare
af0092b
to
75caab9
Compare
75caab9
to
906f2cc
Compare
906f2cc
to
e1356b0
Compare
e1356b0
to
007a8b9
Compare
007a8b9
to
fc6e267
Compare
This PR contains the following updates:
^0.27.1
->^0.39.0
^0.27.1
->^0.39.0
Release Notes
chakra-ui/panda (@pandacss/config)
v0.39.0
Compare Source
Patch Changes
df2546a
]221c9a2
]2116abe
]c3e797e
]935ec86
]v0.38.0
Compare Source
Patch Changes
96b47b3
]bc09d89
]2c8b933
]v0.37.2
Compare Source
Patch Changes
74dfb3e
]v0.37.1
Compare Source
Patch Changes
88049c5
: Improve token validation logic to parse references intokens
and compositve values likeborders
andshadows
which could be objects.885963c
]99870bb
]v0.37.0
Compare Source
Patch Changes
7daf159
]bcfb5c5
]6247dfb
]v0.36.1
Compare Source
Patch Changes
bd0cb07
]v0.36.0
Compare Source
Minor Changes
2691f16
: Addconfig.themes
to easily define and apply a theme on multiple tokens at once, using data attributes andCSS variables.
Can pre-generate multiple themes with token overrides as static CSS, but also dynamically import and inject a theme
stylesheet at runtime (browser or server).
Example:
Pregenerating themes
By default, no additional theme variant is generated, you need to specify the specific themes you want to generate in
staticCss.themes
to include them in the CSS output.This will generate the following CSS:
An alternative way of applying a theme is by using the new
styled-system/themes
entrypoint where you can import thethemes CSS variables and use them in your app.
Each theme has a corresponding JSON file with a similar structure:
Dynamically import a theme using its name:
Inject the theme styles into the DOM:
SSR example with NextJS:
Finally, you can create a theme contract to ensure that all themes have the same structure:
Patch Changes
445c7b6
: Fix merging issue when using a preset that has a token with a conflicting value with another (or the user'sconfig)
When merged with the preset, the config would create nested tokens (
black.10
,black.20
,black.30
) inside of theinitially flat
black
token.This would cause issues as the token engine stops diving deeper after encountering an object with a
value
property.To fix this, we now automatically replace the flat
black
token using theDEFAULT
keyword when resolving the configso that the token engine can continue to dive deeper into the object:
861a280
: Introduce a newglobalVars
config option to define type-safeCSS variables and custom
CSS @property.
Example:
Updated dependencies [
861a280
]Updated dependencies [
2691f16
]Updated dependencies [
340f4f1
]Updated dependencies [
fabdabe
]v0.35.0
Compare Source
Patch Changes
50db354
: Add missing reducers to properly return the results of hooks forconfig:resolved
andparser:before
50db354
]f6befbf
]a0c4d27
]v0.34.3
Compare Source
Patch Changes
v0.34.2
Compare Source
Patch Changes
58388de
: Fix a false positive with the validation check that reportedMissing token
when using a color opacitymodifier in config
tokens
orsemanticTokens
Would incorrectly report:
colors.green.500/half
used inconfig.semanticTokens.colors.secondary
colors.blue.500/32
used inconfig.semanticTokens.colors.secondary
v0.34.1
Compare Source
Patch Changes
v0.34.0
Compare Source
Patch Changes
1c63216
: Add a config validation check to prevent using spaces in token keys, show better error logs when there's aCSS parsing error
9f04427
: Fix "missing token" warning when using DEFAULT in tokens pathAdd a warning when using
value
twiceUpdated dependencies [
d1516c8
]v0.33.0
Compare Source
Patch Changes
8feeb95
: AdddefinePlugin
config functions for type-safety around plugins, add missingplugins
in configdependencies to trigger a config reload on
plugins
changecca50d5
]fde37d8
]v0.32.1
Compare Source
Patch Changes
a032375
: Add a way to create config conditions with nested at-rules/selectorswill generate the following CSS:
89ffb6b
: Add missing config dependencies for somestyled-system/types
filesUpdated dependencies [
a032375
]Updated dependencies [
89ffb6b
]v0.32.0
Compare Source
Minor Changes
de4d9ef
: Allowconfig.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.
Patch Changes
8cd8c19
]60cace3
]de4d9ef
]v0.31.0
Compare Source
Minor Changes
f029624
: - Sort the longhand/shorthand atomic rules in a deterministic order to prevent property conflictsbase
object in thecss
root styles in the runtimeEx:
Will now always generate the following css:
Patch Changes
e2ad0ee
: - Fix issue in token validation logic where token with additional properties likedescription
isconsidered invalid.
validation
is set toerror
, show all config errors at once instead of stopping at the first error.2d69b34
: Fixstyled
factory nested composition withcva
ddeda8a
: Add missing log with thepanda -w
CLI, exposeresolveConfig
from@pandacss/config
8f36f9a
]f029624
]a17fe38
]2d69b34
]40cb30b
]v0.30.2
Compare Source
Patch Changes
6b829ca
]v0.30.1
Compare Source
Patch Changes
ffe177f
: Fix the regression caused by the downstream bundle-n-require package, which tries to load custom conditionsfirst. This led to a
could not resolve @​pandacss/dev
errorv0.30.0
Compare Source
Minor Changes
0dd45b6
: Fix issue where config changes could not be detected due to config bundling returning stale resultsometimes.
Patch Changes
74485ef
: Addutils
functions in theconfig:resolved
hook, making it easy to apply transformations after allpresets have been merged.
For example, this could be used if you want to use most of a preset but want to completely omit a few things, while
keeping the rest. Let's say we want to remove the
stack
pattern from the built-in@pandacss/preset-base
:ab32d1d
: Fix issue where errors were thrown when semantic tokens are overriden in tokens.d5977c2
: - Add a--logfile
flag to thepanda
,panda codegen
,panda cssgen
andpanda debug
commands.logfile
option to the postcss pluginLogs will be streamed to the file specified by the
--logfile
flag or thelogfile
option. This is useful fordebugging issues that occur during the build process.
Updated dependencies [
74485ef
]Updated dependencies [
ab32d1d
]Updated dependencies [
49c760c
]Updated dependencies [
d5977c2
]v0.29.1
Compare Source
Patch Changes
v0.29.0
Compare Source
Minor Changes
a2fb5cc
: - Add support for explicitly specifying config related files that should trigger a context reload on change.Set the
dependencies
option inpanda.config.ts
to a glob or list of files.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
)Patch Changes
ea3f554
: Add config validation:Updated dependencies [
5fcdeb7
]Updated dependencies [
250b4d1
]Updated dependencies [
f778d3e
]Updated dependencies [
a2fb5cc
]v0.28.0
Compare Source
Minor Changes
f58f6df
: Refactorconfig.hooks
to be much more powerful, you can now:load all
recipes
from a foldertsx
-friendly syntax so that Panda's parser can parse it.parse style usage from any template language
@layer
or even right before it's written to disk (if using the CLI) or injectedthrough the postcss plugin, allowing all kinds of customizations like removing the unused CSS variables, etc.
styled-system
folder) have been generatedSee the list of available
config.hooks
here:Patch Changes
f58f6df
]770c7aa
]v0.27.3
Compare Source
Patch Changes
1ed4df7
]v0.27.2
Compare Source
Patch Changes
chakra-ui/panda (@pandacss/dev)
v0.39.0
Compare Source
Patch Changes
221c9a2
]c3e797e
]935ec86
]v0.38.0
Compare Source
Patch Changes
96b47b3
]bc09d89
]2c8b933
]v0.37.2
Compare Source
Patch Changes
d238b17
: Add missing type PatternProperties to solve a TypeScript issue (The inferred type of xxx cannot be namedwithout a reference)
84edd38
]74dfb3e
]v0.37.1
Compare Source
Patch Changes
93dc9f5
]88049c5
]885963c
]99870bb
]v0.37.0
Compare Source
Patch Changes
7daf159
]bcfb5c5
]6247dfb
]v0.36.1
Compare Source
Patch Changes
bd0cb07
]v0.36.0
Compare Source
Minor Changes
2691f16
: Addconfig.themes
to easily define and apply a theme on multiple tokens at once, using data attributes andCSS variables.
Can pre-generate multiple themes with token overrides as static CSS, but also dynamically import and inject a theme
stylesheet at runtime (browser or server).
Example:
Pregenerating themes
By default, no additional theme variant is generated, you need to specify the specific themes you want to generate in
staticCss.themes
to include them in the CSS output.This will generate the following CSS: