This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
These will be applied to all stories in your project and can be overriden on the story level.
Background Control
Introducing a new special control type background. You can use it to change the background color of your stories. You might want to place it into .ladle/components.tsx so it's available to all stories. There can be only one active background control.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@ladle/react@2.11.0
Minor Changes
#412
6567b78
Thanks @tajo! - ## Globalargs
andargTypes
You can now define global args and argTypes in
.ladle/components.tsx
:These will be applied to all stories in your project and can be overriden on the story level.
Background Control
Introducing a new special control type
background
. You can use it to change the background color of your stories. You might want to place it into.ladle/components.tsx
so it's available to all stories. There can be only one active background control.Control Name and Labels
You can now customize the name and labels of your controls and their options:
Deterministic
meta.json
Stories are now sorted in the
meta.json
file in a deterministic way. Useful when creating a hash of the Ladle's output for caching purposes.Patch Changes
0182092
Thanks @tajo! - Don't active tsconfig path plugin in yarn pnp env since it's buggytest-addons@0.2.48
Patch Changes
6567b78
,0182092
]:test-config@0.3.27
Patch Changes
6567b78
,0182092
]:test-config-ts@1.0.41
Patch Changes
6567b78
,0182092
]:test-css@0.0.63
Patch Changes
6567b78
,0182092
]:test-decorators@0.2.72
Patch Changes
6567b78
,0182092
]:test-flow@0.2.71
Patch Changes
6567b78
,0182092
]:playwright@0.0.34
Patch Changes
6567b78
,0182092
]:test-programmatic@0.2.72
Patch Changes
6567b78
,0182092
]:test-provider@0.2.72
Patch Changes
6567b78
,0182092
]:test-swc@0.3.20
Patch Changes
6567b78
,0182092
]:example@0.3.48
Patch Changes
6567b78
,0182092
]: